From: Larry Hastings Date: Tue, 25 Aug 2015 21:21:59 +0000 (-0700) Subject: Merge from 3.5 (with 3.5.0rc2 changes) into default (3.6). Messy! X-Git-Tag: v3.6.0a1~1738 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45d1c0083115b11dff4acbc76232633262f7b1a8;p=python Merge from 3.5 (with 3.5.0rc2 changes) into default (3.6). Messy! --- 45d1c0083115b11dff4acbc76232633262f7b1a8 diff --cc Misc/NEWS index e12494c03d,dcd2c37c6d..04401520ba --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -2,53 -2,87 +2,149 @@@ Python News +++++++++++ +What's New in Python 3.6.0 alpha 1? +=================================== + +Release date: XXXX-XX-XX + +Core and Builtins +----------------- + - - Issue #21167: NAN operations are now handled correctly when python is - compiled with ICC even if -fp-model strict is not specified. - +- 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. + - - Issue #24667: Resize odict in all cases that the underlying dict resizes. - +Library +------- + +- Issue #24633: site-packages/README -> README.txt. + - - Issue #20362: Honour TestCase.longMessage correctly in assertRegex. - Patch from Ilia Kurenkov. - - - Issue #24764: cgi.FieldStorage.read_multi() now ignores the Content-Length - header in part headers. Patch written by Peter Landry and reviewed by Pierre - Quentel. - +- 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 #24774: Fix docstring in http.server.test. Patch from Chiu-Hsiang Hsu. - - - Issue #21159: Improve message in configparser.InterpolationMissingOptionError. - Patch from Łukasz Langa. - +- 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 ++------------- ++ ++Tests ++----- ++ + + What's New in Python 3.5.1 + ========================== + + Release date: TBA + + Core and Builtins + ----------------- + + Library + ------- + + - Issue #24764: cgi.FieldStorage.read_multi() now ignores the Content-Length + header in part headers. Patch written by Peter Landry and reviewed by Pierre + Quentel. + + - Issue #24774: Fix docstring in http.server.test. Patch from Chiu-Hsiang Hsu. + + - Issue #21159: Improve message in configparser.InterpolationMissingOptionError. + Patch from Łukasz Langa. + + - Issue #20362: Honour TestCase.longMessage correctly in assertRegex. + Patch from Ilia Kurenkov. + + - Issue #23572: Fixed functools.singledispatch on classes with falsy + metaclasses. Patch by Ethan Furman. + + Documentation + ------------- + + - Issue #23725: Overhaul tempfile docs. Note deprecated status of mktemp. + Patch from Zbigniew Jędrzejewski-Szmek. + + - Issue #24808: Update the types of some PyTypeObject fields. Patch by + Joseph Weston. + + - Issue #22812: Fix unittest discovery examples. + Patch from Pam McA'Nulty. + + + What's New in Python 3.5.0 release candidate 2? + =============================================== + + Release date: 2015-08-25 + + Core and Builtins + ----------------- + + - Issue #24769: Interpreter now starts properly when dynamic loading + is disabled. Patch by Petr Viktorin. + + - Issue #21167: NAN operations are now handled correctly when python is + compiled with ICC even if -fp-model strict is not specified. + + - Issue #24492: A "package" lacking a __name__ attribute when trying to perform + a ``from .. import ...`` statement will trigger an ImportError instead of an + AttributeError. + + Library + ------- + + - Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk. + + - Issue #24839: platform._syscmd_ver raises DeprecationWarning + + - Issue #24867: Fix Task.get_stack() for 'async def' coroutines + + + What's New in Python 3.5.0 release candidate 1? + =============================================== + + Release date: 2015-08-09 + + Core and Builtins + ----------------- + + - Issue #24667: Resize odict in all cases that the underlying dict resizes. + + Library + ------- + - Issue #24824: Signatures of codecs.encode() and codecs.decode() now are compatible with pydoc. diff --cc README index 04c282ebe7,16c109c07a..f232755601 --- a/README +++ b/README @@@ -166,7 -166,7 +166,7 @@@ http://www.python.org/dev/peps/ Release Schedule ---------------- --See PEP 478 for release details: http://www.python.org/dev/peps/pep-0478/ ++See PEP 494 for release details: http://www.python.org/dev/peps/pep-0494/ Copyright and License Information