From: Martin Panter Date: Mon, 31 Aug 2015 03:26:46 +0000 (+0000) Subject: Issue #24952: Merge 3.5 into 3.6 X-Git-Tag: v3.6.0a1~1719 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81174d749af8a3da5cbdce2db511f4d71f2fa5ab;p=python Issue #24952: Merge 3.5 into 3.6 --- 81174d749af8a3da5cbdce2db511f4d71f2fa5ab diff --cc Misc/NEWS index 9b455ab69d,7ff67bf161..38f31e4880 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -2,71 -2,6 +2,74 @@@ Python News +++++++++++ +What's New in Python 3.6.0 alpha 1? +=================================== + +Release date: XXXX-XX-XX + +Core and Builtins +----------------- + +- Issue #9232: Modify Python's grammar to allow trailing commas in the + argument list of a function declaration. For example, "def f(*, a = + 3,): pass" is now legal. Patch from Mark Dickinson. + +Library +------- + +- Issue #23552: Timeit now warns when there is substantial (4x) variance + between best and worst times. Patch from Serhiy Storchaka. + +- Issue #24633: site-packages/README -> README.txt. + +- Issue #24879: help() and pydoc can now list named tuple fields in the + order they were defined rather than alphabetically. The ordering is + determined by the _fields attribute if present. + +- Issue #24874: Improve speed of itertools.cycle() and make its + pickle more compact. + +- Fix crash in itertools.cycle.__setstate__() when the first argument wasn't + a list. + +- Issue #20059: urllib.parse raises ValueError on all invalid ports. + Patch by Martin Panter. + +- Issue #24360: Improve __repr__ of argparse.Namespace() for invalid + identifiers. Patch by Matthias Bussonnier. + +- Issue #23426: run_setup was broken in distutils. + Patch from Alexander Belopolsky. + +- Issue #13938: 2to3 converts StringTypes to a tuple. Patch from Mark Hammond. + +- Issue #2091: open() accepted a 'U' mode string containing '+', but 'U' can + only be used with 'r'. Patch from Jeff Balogh and John O'Connor. + +- Issue #8585: improved tests for zipimporter2. Patch from Mark Lawrence. + +- Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely. + Patch from Nicola Palumbo and Laurent De Buyst. + +- Issue #24426: Fast searching optimization in regular expressions now works + for patterns that starts with capturing groups. Fast searching optimization + now can't be disabled at compile time. + +- Issue #23661: unittest.mock side_effects can now be exceptions again. This + was a regression vs Python 3.4. Patch from Ignacio Rossi + +- Issue #13248: Remove deprecated inspect.getargspec and inspect.getmoduleinfo + functions. + +Documentation +------------- + ++- Issue #24952: Clarify the default size argument of stack_size() in ++ the "threading" and "_thread" modules. Patch from Mattip. ++ +Tests +----- + What's New in Python 3.5.1 ==========================