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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asyncio-3.4.2.tar.gz.
File metadata
- Download URL: asyncio-3.4.2.tar.gz
- Upload date:
- Size: 179.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9cb785691c1c48e4537bdd26d189d56335cc80ce4a77a4301e077ab8adea880
|
|
| MD5 |
cacb7a626ce00af608acbc58e185113f
|
|
| BLAKE2b-256 |
e152a64b5a7feb1e17ea8b74d0a903d42944cd2a9a973620f36e864744e88de6
|
File details
Details for the file asyncio-3.4.2-cp33-none-win_amd64.whl.
File metadata
- Download URL: asyncio-3.4.2-cp33-none-win_amd64.whl
- Upload date:
- Size: 97.1 kB
- Tags: CPython 3.3, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
534491c3d71b44d0edd60e8a6c12dc5790e4a2b566e64bd50229859db5da3e7c
|
|
| MD5 |
2ef023d232e651da5f949b70bcbff765
|
|
| BLAKE2b-256 |
be1f7565bf9947edd21db9f437ad83792c03dd4d7659595bcad2f73efd530e2d
|
File details
Details for the file asyncio-3.4.2-cp33-none-win32.whl.
File metadata
- Download URL: asyncio-3.4.2-cp33-none-win32.whl
- Upload date:
- Size: 95.6 kB
- Tags: CPython 3.3, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8b6bbf0b28647c3b4d131ecb1748e3e67e7cdc95aa90b5e9bba583237337e05
|
|
| MD5 |
87c3426bd80a0135fbbb0c2e616e7399
|
|
| BLAKE2b-256 |
6d4194d3e1f7eb382e4c5fc50632b2c8390034d0caef7d5e5f4cdb67c6c94c80
|