Backport of asyncio in Python 3.7
Project description
This package replaces default implementation of asyncio in Python 3.6 with implementation in Python 3.7. A contextvars library from MagicStack is also included to make sure the package functions well.
Notes
After installation, this package will replace the builtin implementation of asyncio in Python 3.6. To use the builtin implementation, you have to uninstall this package or add an environment variable USE_BUILTIN_ASYNCIO=1 to avoid loading the replacements.
As PyThreadState in Python 3.6 does not include an unique identifier, we cannot cache it when calling get_running_loop. Hence the performance of the library may be degraded comparing to the original module in Python 3.7.
License
The whole package is released under Apache License 2.0. Codes under asyncio module is copied from Python 3.7 source which is released under PSF License Agreement with minimal modifications. Codes in contextvars.py is copied from MagicStack codes released under Apache License 2.0.
Project details
Release history Release notifications | RSS feed
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 asyncio37-0.1.3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1a38a76e95c25f887b75fe8c8a13435e2d2d20e766af300e1fc885356861b49 |
|
MD5 | e5e0cff4850ff6ea3f4b44c75fbe905c |
|
BLAKE2b-256 | 5d6cafb0b3259395d1752a86383127eafc56aa3a9c9ecf724a96eee8a7f13947 |
Hashes for asyncio37-0.1.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51308bc52e4f4b11bd77c760c616840eb91115a020124e0b939d298f5e61914c |
|
MD5 | 6c3ee230d37032074fb01febf07f2449 |
|
BLAKE2b-256 | ac27b312b49e9e3710c0f766f447a9060c5c93764b386703c36d40d3883816e4 |
Hashes for asyncio37-0.1.3-cp36-cp36m-macosx_10_9_x86_64.macosx_10_9_intel.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 431ac88760136bab9bb053d6d9635ed39e1a9de3be2327b0178f60f03269ef41 |
|
MD5 | de8f193829cb6d12654285d5cc395f20 |
|
BLAKE2b-256 | 078e5b08256c2acf962bf1f0efc2f48ec71f14804ff75c73048a048b594a1436 |