From: Benjamin Peterson Date: Thu, 29 Sep 2016 06:17:04 +0000 (-0700) Subject: merge 3.5 (#1703178) X-Git-Tag: v3.6.0b2~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=095e32bfc511ee823af3752507c7211a305c8c00;p=python merge 3.5 (#1703178) --- 095e32bfc511ee823af3752507c7211a305c8c00 diff --cc Misc/NEWS index 00af6f628e,fbf3100481..4f5e53f15a --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -304,52 -83,53 +304,55 @@@ Core and Builtin Library ------- -- Issue #1703178: Fix the ability to pass the --link-objects option to the - distutils build_ext command. - -- Issue #28253: Fixed calendar functions for extreme months: 0001-01 - and 9999-12. - - Methods itermonthdays() and itermonthdays2() are reimplemented so - that they don't call itermonthdates() which can cause datetime.date - under/overflow. +- Issue #28037: Use sqlite3_get_autocommit() instead of setting + Connection->inTransaction manually. -- Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress(). - Original patch by John Leitch. +- Issue #25283: Attributes tm_gmtoff and tm_zone are now available on + all platforms in the return values of time.localtime() and + time.gmtime(). -- Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() - if pass invalid string-like object as a name. Patch by Xiang Zhang. +- Issue #24454: Regular expression match object groups are now + accessible using __getitem__. "mo[x]" is equivalent to + "mo.group(x)". -- Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py. - Patch by Madison May. +- Issue #10740: sqlite3 no longer implicitly commit an open transaction + before DDL statements. -- Issue #27611: Fixed support of default root window in the tkinter.tix module. +- Issue #17941: Add a *module* parameter to collections.namedtuple(). -- Issue #27348: In the traceback module, restore the formatting of exception - messages like "Exception: None". This fixes a regression introduced in - 3.5a2. +- Issue #22493: Inline flags now should be used only at the start of the + regular expression. Deprecation warning is emitted if uses them in the + middle of the regular expression. -- Issue #25651: Allow falsy values to be used for msg parameter of subTest(). +- Issue #26885: xmlrpc now supports unmarshalling additional data types used + by Apache XML-RPC implementation for numerics and None. -- Issue #27932: Prevent memory leak in win32_ver(). +- Issue #28070: Fixed parsing inline verbose flag in regular expressions. -- Fix UnboundLocalError in socket._sendfile_use_sendfile. +- Issue #19500: Add client-side SSL session resumption to the ssl module. -- Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of - os.stat(). Patch by Eryk Sun. +- Issue #28022: Deprecate ssl-related arguments in favor of SSLContext. The + deprecation include manual creation of SSLSocket and certfile/keyfile + (or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib. -- Issue #25270: Prevent codecs.escape_encode() from raising SystemError when - an empty bytestring is passed. +- Issue #28043: SSLContext has improved default settings: OP_NO_SSLv2, + OP_NO_SSLv3, OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, + OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE and HIGH ciphers without MD5. -- Issue #28181: Get antigravity over HTTPS. Patch by Kaartic Sivaraam. +- Issue #24693: Changed some RuntimeError's in the zipfile module to more + appropriate types. Improved some error messages and debugging output. -- Issue #25895: Enable WebSocket URL schemes in urllib.parse.urljoin. - Patch by Gergely Imreh and Markus Holtermann. +- Issue #17909: ``json.load`` and ``json.loads`` now support binary input + encoded as UTF-8, UTF-16 or UTF-32. Patch by Serhiy Storchaka. -- Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). +- Issue #27137: the pure Python fallback implementation of ``functools.partial`` + now matches the behaviour of its accelerated C counterpart for subclassing, + pickling and text representation purposes. Patch by Emanuel Barry and + Serhiy Storchaka. -- Issue #19003:m email.generator now replaces only \r and/or \n line - endings, per the RFC, instead of all unicode line endings. ++- Issue #1703178: Fix the ability to pass the --link-objects option to the ++ distutils build_ext command. + - Issue #28019: itertools.count() no longer rounds non-integer step in range between 1.0 and 2.0 to 1.