请选择 进入手机版 | 继续访问电脑版

北南南北论坛

 找回密码
 立即注册
查看: 34|回复: 0

Python 3.6.4 发布,Python 3.6 的第四个维护版本

[复制链接]

250

主题

367

帖子

1101

积分

金牌会员

Rank: 6Rank: 6

积分
1101
发表于 2017-12-31 21:52:44 | 显示全部楼层 |阅读模式
Python 3.6.4 已发布,Python 3.6.4 是 2016 年发布的 Python 3.6 的第四个维护版本。

与 Python 3.6.4 的首个 RC 版相比,3.6.4 并没有任何新的代码更改,下面简单看看 Python 3.6.4 RC1 的更新内容。

更新内容较多,包含了 C API、工具示例、IDLE、macOS、Windows、构建、测试、文档、库、核心这几大方面,详细的内容可点此进行参阅。

核心

    bpo-31949: Fixed several issues in printing tracebacks (PyTraceBack_Print())

    bpo-30696: Fix the interactive interpreter looping endlessly when no memory.

    bpo-20047: Bytearray methods partition() and rpartition() now accept only bytes-like objects as separator, as documented. In particular they now raise TypeError rather of returning a bogus result when an integer is passed as a separator.

    bpo-31852: Fix a segmentation fault caused by a combination of the async soft keyword and continuation lines.

    bpo-21720: BytesWarning no longer emitted when the fromlist argument of __import__() or the __all__ attribute of the module contain bytes instances.

    bpo-28603: Print the full context/cause chain of exceptions on interpreter exit, even if an exception in the chain is unhashable or compares equal to later ones. Patch by Zane Bitter.



    bpo-28556: Two minor fixes for typing module: allow shallow copying instances of generic classes, improve interaction of __init_subclass__with generics. Original PRs by Ivan Levkivskyi.

    bpo-27240: The header folding algorithm for the new email policies has been rewritten, which also fixes bpo-30788, bpo-31831, and bpo-32182. In particular, RFC2231 folding is now done correctly.

    bpo-32186: io.FileIO.readall() and io.FileIO.read() now release the GIL when getting the file size. Fixed hang of all threads with inaccessible NFS server. Patch by Nir Soffer.

测试

    bpo-31380: Skip test_httpservers test_undecodable_file on macOS: fails on APFS.

    bpo-31705: Skip test_socket.test_sha256() on Linux kernel older than 4.5. The test fails with ENOKEY on kernel 3.10 (on ppc64le). A fix was merged into the kernel 4.5.

    bpo-31174: Fix test_tools.test_unparse: DirectoryTestCase now stores the names sample to always test the same files. It prevents false alarms when hunting reference leaks.

    bpo-30695: Add the set_nomemory(start, stop) and remove_mem_hooks() functions to the _testcapi module.

预计下个维护版本将在未来三个月内发布,大约是 2018 年 3 月底。
下载地址:https://www.python.org/downloads/release/python-364/
来自:http://blog.python.org/2017/12/python-364-is-now-available.html
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


手机版|北南南北论坛  

GMT+8, 2018-1-24 07:46 , Processed in 0.072867 second(s), 31 queries .

© 2001-2016 VxWorks6 Inc.

快速回复 返回顶部 返回列表