资源名称:python3.7.0官方参考文档 最新api文档 chm
1、新语法特性:
PEP 563, 推迟评估类型注释
2、向后不兼容语法更改:
async 和 await 现在保留关键字
3、新的库模块:
contextvars: PEP 567 – Context Variables
dataclasses: PEP 557 – Data Classes
importlib.resources
4、新的内置功能:
PEP 553, 新的 breakpoint() 函数
5、数据模型改进:
PEP 562, customization of access to module attributes.
PEP 560, core support for typing module and generic types.
the insertion-order preservation nature of dict objects has been declared to be an - official part of the Python language spec.
6、标准库重要改进:
asyncio模块性能和可用性改进
time 模块支持 nanosecond resolution
7、CPython 实现改进:
避免使用 ASCII 作为默认文本编码:
PEP 538, legacy C locale coercion
PEP 540, forced UTF-8 runtime mode
PEP 552, deterministic .pycs
新的 development runtime mode
PEP 565, 改进 DeprecationWarning 处理
8、C API 改进:
PEP 539, 用于 thread-local 存储的新的 C API
9、文档改进:
PEP 545,Python 文档翻译
资源截图:
=============================================================
本站声明:
1、本站所有资源均来源于互联网,不保证100%完整、不提供任何技术支持;
2、本站所发布的文章以及附件仅限用于学习和研究目的;不得将用于商业或者非法用途;否则由此产生的法律后果,本站概不负责!