From: Benjamin Peterson Date: Mon, 5 Sep 2016 17:16:31 +0000 (-0700) Subject: merge 3.5 (closes #27811) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98020812e6f82d22308f4fc1169fe066254d3a72;p=python merge 3.5 (closes #27811) --- 98020812e6f82d22308f4fc1169fe066254d3a72 diff --cc Misc/NEWS index 79366cb138,8558db4df3..01bef3c1a5 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,25 -10,9 +10,28 @@@ What's New in Python 3.6.0 beta Core and Builtins ----------------- +- Issue #27921: Disallow backslashes in f-strings. This is a temporary + restriction: in beta 2, backslashes will only be disallowed inside + the braces (where the expressions are). This is a breaking change + from the 3.6 alpha releases. + +- Issue #27870: A left shift of zero by a large integer no longer attempts + to allocate large amounts of memory. + +- Issue #25402: In int-to-decimal-string conversion, improve the estimate + of the intermediate memory required, and remove an unnecessarily strict + overflow check. Patch by Serhiy Storchaka. + +- Issue #27214: In long_invert, be more careful about modifying object + returned by long_add, and remove an unnecessary check for small longs. + Thanks Oren Milman for analysis and patch. + +- Issue #27506: Support passing the bytes/bytearray.translate() "delete" + argument by keyword. + + - Issue #27811: Fix a crash when a coroutine that has not been awaited is + finalized with warnings-as-errors enabled. + - Issue #27587: Fix another issue found by PVS-Studio: Null pointer check after use of 'def' in _PyState_AddModule(). Initial patch by Christian Heimes.