Skip to main content

PEP 567 Backport

Project description

PEP 567 Backport

This package implements a backport of Python 3.7 contextvars module (see PEP 567) for Python 3.6.

Important: at this moment this package does not provide an asyncio event loop with PEP 567 support yet. Stay tuned for updates.

Documentation: https://docs.python.org/3.7/library/contextvars.html

Usage:

try:
    import contextvars
except ImportError:
    import pep567 as contextvars

my_var = contextvars.ContextVar('my_var')
# ...

License

Apache 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

pep567-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file pep567-0.1.0.tar.gz.

File metadata

  • Download URL: pep567-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pep567-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d8fbe82ee3bfd593f2477e88d5d363bfc7133573fd400fcbda283035f4e6ab3e
MD5 361f330c484f42cd08e463858f131b6d
BLAKE2b-256 e2271b5cbb39696bf4dfbacb38fe925bb7852d94042efbb8b52e02097073c26d

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