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
Hashes for asyncio-3.4.2-cp33-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 534491c3d71b44d0edd60e8a6c12dc5790e4a2b566e64bd50229859db5da3e7c |
|
MD5 | 2ef023d232e651da5f949b70bcbff765 |
|
BLAKE2b-256 | be1f7565bf9947edd21db9f437ad83792c03dd4d7659595bcad2f73efd530e2d |
Hashes for asyncio-3.4.2-cp33-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8b6bbf0b28647c3b4d131ecb1748e3e67e7cdc95aa90b5e9bba583237337e05 |
|
MD5 | 87c3426bd80a0135fbbb0c2e616e7399 |
|
BLAKE2b-256 | 6d4194d3e1f7eb382e4c5fc50632b2c8390034d0caef7d5e5f4cdb67c6c94c80 |