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 details)

Uploaded Source

Built Distributions

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

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 details)

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 details)

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

File details

Details for the file asyncio37-0.1.3.tar.gz.

File metadata

  • Download URL: asyncio37-0.1.3.tar.gz
  • Upload date:
  • Size: 151.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.13

File hashes

Hashes for asyncio37-0.1.3.tar.gz
Algorithm Hash digest
SHA256 843ad6b377aa0ce2cd6282bd6884a7983573bc14d8936ef78e704d7530f93a33
MD5 9cc2bd6cf8d552211df46a19eacb60c6
BLAKE2b-256 ce2f86ae51e6a4ffdcf69759cb49fa11578dac03635d3f4180c27c492c921f2c

See more details on using hashes here.

File details

Details for the file asyncio37-0.1.3-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: asyncio37-0.1.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 134.8 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.13

File hashes

Hashes for asyncio37-0.1.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c1a38a76e95c25f887b75fe8c8a13435e2d2d20e766af300e1fc885356861b49
MD5 e5e0cff4850ff6ea3f4b44c75fbe905c
BLAKE2b-256 5d6cafb0b3259395d1752a86383127eafc56aa3a9c9ecf724a96eee8a7f13947

See more details on using hashes here.

File details

Details for the file asyncio37-0.1.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file 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.

File metadata

File hashes

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

See more details on using hashes here.

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