Python 发布了 3.10.2 和 3.9.10 版本,3.10.2 作为包含所有功能的最新版本,3.9.10 则是 3.9 的第十个维护版本,带来一些改进和优化。
Python 3.10.2

Python 3.10.2 是 Python 编程语言的最新主要版本,包含许多新功能和优化。

这是一个特殊的错误修复版本,用于解决在使用 Cython 时某些函数调用上发生的内存泄漏,这些内存泄漏由来自 Cython 代码的某些函数调用中的少量恒定的字节组成。尽管在大多数情况下影响不是很明显,但它对长时间运行的应用程序和某些使用模式会带来非常大的影响,通过查阅 bpo-46347 了解更多信息。

更新公告:https://www.python.org/downloads/release/python-3102/
Python 3.9.10

Python 3.9.10 是旧版 3.9 系列的第九个维护版本。注意: Python 3.10 现在是 Python 3 的最新功能版本,建议升级到 Python 3.10.2。

此版本带来一些修复和性能优化,如:

bpo-46085:修复 OrderedDict
bpo-46110:向 PEG 解析器添加最大递归检查以避免堆栈溢
bpo-46000:提高curses模块与 NetBSD 的兼容性

完整的优化项可以在 Python 3.9.10 更新日志中查看。Python has released versions 3.10.2 and 3.9.10, with 3.10.2 being the latest version with all features, and 3.9.10 being the tenth maintenance release of 3.9, bringing some improvements and optimizations.
Python 3.10.2 Python 3.10.2 is the latest major release of the Python programming language and includes many new features and optimizations.
This is a special bugfix release to address memory leaks that occur on certain function calls when using Cython, which consist of a small constant number of bytes in certain function calls from Cython code. Although the impact is not obvious in most cases, it can have a very large impact on long-running applications and certain usage patterns, see bpo-46347 for more information.
Update announcement: https://www.python.org/downloads/release/python-3102/Python 3.9.10 Python 3.9.10 is the ninth maintenance release of the older 3.9 series. Note: Python 3.10 is now the latest feature version of Python 3 and it is recommended to upgrade to Python 3.10.2.
This release brings some fixes and performance optimizations like: bpo-46085: Fix OrderedDictbpo-46110: Add max recursion check to PEG parser to avoid stack overflow bpo-46000: Improve curses module compatibility with NetBSD The full optimization can be Check it out in the Python 3.9.10 changelog.

发表评论

后才能评论