Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asyncio37-0.1.3.tar.gz (151.5 kB view hashes)

Uploaded Source

Built Distributions

asyncio37-0.1.3-cp36-cp36m-win_amd64.whl (134.8 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

asyncio37-0.1.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (189.5 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.5+ x86-64

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 (185.1 kB view hashes)

Uploaded CPython 3.6m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.9+ intel macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page