跳转到主要内容

PEP 567 回滚

项目描述

PEP 567 回滚

此软件包实现了Python 3.6对Python 3.7 contextvars 模块的回滚(见PEP 567)。

重要: 目前此软件包尚未提供具有PEP 567支持的asyncio事件循环。请关注更新。

文档: https://docs.pythonlang.cn/3.7/library/contextvars.html

使用方法

try:
    import contextvars
except ImportError:
    import pep567 as contextvars

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

许可协议

Apache 2.0.

项目详情


下载文件

为您的平台下载文件。如果您不确定选择哪个,请了解有关 安装软件包 的更多信息。

源代码分发

pep567-0.1.0.tar.gz (2.7 kB 查看哈希)

上传时间: 源代码

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面