reference implementation of PEP 3156
Project description
Tulip is the codename for my reference implementation of PEP 3156.
PEP 3156: http://www.python.org/dev/peps/pep-3156/
* This requires Python 3.3 or later! *
Copyright/license: Open source, Apache 2.0. Enjoy.
Master Mercurial repo: http://code.google.com/p/tulip/
The actual code lives in the ‘asyncio’ subdirectory. Tests are in the ‘tests’ subdirectory.
- To run tests:
make test
- To run coverage (coverage package is required):
make coverage
On Windows, things are a little more complicated. Assume ‘P’ is your Python binary (for example C:Python33python.exe).
You must first build the _overlapped.pyd extension and have it placed in the asyncio directory, as follows:
C> P setup.py build_ext –inplace
If this complains about vcvars.bat, you probably don’t have the required version of Visual Studio installed. Compiling extensions for Python 3.3 requires Microsoft Visual C++ 2010 (MSVC 10.0) of any edition; you can download Visual Studio Express 2010 for free from http://www.visualstudio.com/downloads (scroll down to Visual C++ 2010 Express).
Once you have built the _overlapped.pyd extension successfully you can run the tests as follows:
C> P runtests.py
And coverage as follows:
C> P runtests.py –coverage
–Guido van Rossum <guido@python.org>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file asyncio-3.4.1.tar.gz
.
File metadata
- Download URL: asyncio-3.4.1.tar.gz
- Upload date:
- Size: 155.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63c071f64f6f5a007603159c7a0da73a13bdf830674abe6fd89b3470e288d6f7 |
|
MD5 | 7dc164ad37905ca3745576d0b9dfb2de |
|
BLAKE2b-256 | d2abacb12dcb47611d3ff37d09ec99e37b895d8226015baec6297c8ca16d4c12 |
File details
Details for the file asyncio-3.4.1-cp33-none-win_amd64.whl
.
File metadata
- Download URL: asyncio-3.4.1-cp33-none-win_amd64.whl
- Upload date:
- Size: 86.4 kB
- Tags: CPython 3.3, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90decba1e7f27ef96780e1e5b077fb0bb8c61da7c44d020ee99588339cf0b147 |
|
MD5 | d67e05dd00e955586df00d92345c3df2 |
|
BLAKE2b-256 | 360b768afcbae7bfd07b7b17261d88780b9af768190f8222381339c86d77d9e0 |
File details
Details for the file asyncio-3.4.1-cp33-none-win32.whl
.
File metadata
- Download URL: asyncio-3.4.1-cp33-none-win32.whl
- Upload date:
- Size: 84.9 kB
- Tags: CPython 3.3, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b53a21d9aa01323a9e6f5351f50879fa91050e4bd825c98ffe8d644e8d6297 |
|
MD5 | bbfd748c42e420107ee65b2fe9df51bb |
|
BLAKE2b-256 | 983b0c4cc298e0b50e167d9632d83b561a0dfe0c0e565d14f5e52a86111e296c |