+++++++++++
Python News
+++++++++++
What's New in Python 3.6.5 final?
=================================
*Release date: 2018-03-28*
Tests
-----
- bpo-32872: Avoid regrtest compatibility issue with namespace packages.
Build
-----
- bpo-33163: Upgrade pip to 9.0.3 and setuptools to v39.0.1.
What's New in Python 3.6.5 release candidate 1?
===============================================
*Release date: 2018-03-13*
Security
--------
- bpo-33001: Minimal fix to prevent buffer overrun in os.symlink on Windows
- bpo-32981: Regexes in difflib and poplib were vulnerable to catastrophic
backtracking. These regexes formed potential DOS vectors (REDOS). They
have been refactored. This resolves CVE-2018-1060 and CVE-2018-1061. Patch
by Jamie Davis.
Core and Builtins
-----------------
- bpo-33026: Fixed jumping out of "with" block by setting f_lineno.
- bpo-17288: Prevent jumps from 'return' and 'exception' trace events.
- bpo-32889: Update Valgrind suppression list to account for the rename of
``Py_ADDRESS_IN_RANG`` to ``address_in_range``.
- bpo-32650: Pdb and other debuggers dependent on bdb.py will correctly step
over (next command) native coroutines. Patch by Pablo Galindo.
- bpo-32685: Improve suggestion when the Python 2 form of print statement is
either present on the same line as the header of a compound statement or
else terminated by a semi-colon instead of a newline. Patch by Nitish
Chandra.
- bpo-32583: Fix possible crashing in builtin Unicode decoders caused by
write out-of- bound errors when using customized decode error handlers.
- bpo-26163: Improved frozenset() hash to create more distinct hash values
when faced with datasets containing many similar values.
- bpo-27169: The ``__debug__`` constant is now optimized out at compile
time. This fixes also bpo-22091.
- bpo-32329: ``sys.flags.hash_randomization`` is now properly set to 0 when
hash randomization is turned off by ``PYTHONHASHSEED=0``.
- bpo-30416: The optimizer is now protected from spending much time doing
complex calculations and consuming much memory for creating large
constants in constant folding.
- bpo-18533: ``repr()`` on a dict containing its own ``values()`` or
``items()`` no longer raises ``RecursionError``; OrderedDict similarly.
Instead, use ``...``, as for other recursive structures. Patch by Ben
North.
- bpo-32028: Leading whitespace is now correctly ignored when generating
suggestions for converting Py2 print statements to Py3 builtin print
function calls. Patch by Sanyam Khurana.
- bpo-32137: The repr of deeply nested dict now raises a RecursionError
instead of crashing due to a stack overflow.
Library
-------
- bpo-33064: lib2to3 now properly supports trailing commas after ``*args``
and ``**kwargs`` in function signatures.
- bpo-31804: Avoid failing in multiprocessing.Process if the standard
streams are closed or None at exit.
- bpo-33037: Skip sending/receiving data after SSL transport closing.
- bpo-30353: Fix ctypes pass-by-value for structs on 64-bit Cygwin/MinGW.
- bpo-33009: Fix inspect.signature() for single-parameter partialmethods.
- bpo-32969: Expose several missing constants in zlib and fix corresponding
documentation.
- bpo-32713: Fixed tarfile.itn handling of out-of-bounds float values. Patch
by Joffrey Fuhrer.
- bpo-30622: The ssl module now detects missing NPN support in LibreSSL.
- bpo-32922: dbm.open() now encodes filename with the filesystem encoding
rather than default encoding.
- bpo-32859: In ``os.dup2``, don't check every call whether the ``dup3``
syscall exists or not.
- bpo-21060: Rewrite confusing message from setup.py upload from "No dist
file created in earlier command" to the more helpful "Must create and
upload files in one command".
- bpo-32857: In :mod:`tkinter`, ``after_cancel(None)`` now raises a
:exc:`ValueError` instead of canceling the first scheduled function.
Patch by Cheryl Sabella.
- bpo-32852: Make sure sys.argv remains as a list when running trace.
- bpo-32841: Fixed `asyncio.Condition` issue which silently ignored
cancellation after notifying and cancelling a conditional lock. Patch by
Bar Harel.
- bpo-31787: Fixed refleaks of ``__init__()`` methods in various modules.
(Contributed by Oren Milman)
- bpo-30157: Fixed guessing quote and delimiter in csv.Sniffer.sniff() when
only the last field is quoted. Patch by Jake Davis.
- bpo-32394: socket: Remove TCP_FASTOPEN, TCP_KEEPCNT flags on older version
Windows during run-time.
- bpo-32777: Fix a rare but potential pre-exec child process deadlock in
subprocess on POSIX systems when marking file descriptors inheritable on
exec in the child process. This bug appears to have been introduced in
3.4.
- bpo-32647: The ctypes module used to depend on indirect linking for
dlopen. The shared extension is now explicitly linked against libdl on
platforms with dl.
- bpo-32734: Fixed ``asyncio.Lock()`` safety issue which allowed acquiring
and locking the same lock multiple times, without it being free. Patch by
Bar Harel.
- bpo-32727: Do not include name field in SMTP envelope from address. Patch
by Stéphane Wirtel
- bpo-27931: Fix email address header parsing error when the username is an
empty quoted string. Patch by Xiang Zhang.
- bpo-32304: distutils' upload command no longer corrupts tar files ending
with a CR byte, and no longer tries to convert CR to CRLF in any of the
upload text fields.
- bpo-32502: uuid.uuid1 no longer raises an exception if a 64-bit hardware
address is encountered.
- bpo-31848: Fix the error handling in Aifc_read.initfp() when the SSND
chunk is not found. Patch by Zackery Spytz.
- bpo-32555: On FreeBSD and Solaris, os.strerror() now always decode the
byte string from the current locale encoding, rather than using
ASCII/surrogateescape in some cases.
- bpo-32521: The nis module is now compatible with new libnsl and headers
location.
- bpo-32473: Improve ABCMeta._dump_registry() output readability
- bpo-32521: glibc has removed Sun RPC. Use replacement libtirpc headers and
library in nis module.
- bpo-32228: Ensure that ``truncate()`` preserves the file position (as
reported by ``tell()``) after writes longer than the buffer size.
- bpo-26133: Don't unsubscribe signals in asyncio UNIX event loop on
interpreter shutdown.
- bpo-32185: The SSL module no longer sends IP addresses in SNI TLS
extension on platforms with OpenSSL 1.0.2+ or inet_pton.
- bpo-32323: :func:`urllib.parse.urlsplit()` does not convert zone-id
(scope) to lower case for scoped IPv6 addresses in hostnames now.
- bpo-32302: Fix bdist_wininst of distutils for CRT v142: it binary
compatible with CRT v140.
- bpo-32255: A single empty field is now always quoted when written into a
CSV file. This allows to distinguish an empty row from a row consisting of
a single empty field. Patch by Licht Takeuchi.
- bpo-32277: Raise ``NotImplementedError`` instead of ``SystemError`` on
platforms where ``chmod(..., follow_symlinks=False)`` is not supported.
Patch by Anthony Sottile.
- bpo-32199: The getnode() ip getter now uses 'ip link' instead of 'ip link
list'.
- bpo-27456: Ensure TCP_NODELAY is set on Linux. Tests by Victor Stinner.
- bpo-31900: The :func:`locale.localeconv` function now sets temporarily the
``LC_CTYPE`` locale to the ``LC_NUMERIC`` locale to decode
``decimal_point`` and ``thousands_sep`` byte strings if they are non-ASCII
or longer than 1 byte, and the ``LC_NUMERIC`` locale is different than the
``LC_CTYPE`` locale. This temporary change affects other threads.
Same change for the :meth:`str.format` method when formatting a number
(:class:`int`, :class:`float`, :class:`float` and subclasses) with the
没有合适的资源?快使用搜索试试~ 我知道了~
rabbit源代码\启动接口压缩包
资源详情
资源评论
资源推荐
桔子qq_51207440
- 粉丝: 1
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0