From: Serhiy Storchaka Date: Tue, 24 Jan 2017 18:52:43 +0000 (+0200) Subject: Issue #29337: Fixed possible BytesWarning when compare the code objects. X-Git-Tag: v3.6.1rc1~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4102d25b7eef868519b4c9b398690313cd36ef66;p=python Issue #29337: Fixed possible BytesWarning when compare the code objects. Warnings could be emitted at compile time. --- 4102d25b7eef868519b4c9b398690313cd36ef66 diff --cc Misc/NEWS index 414369cf9b,19d90af152..2b319ecf90 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,40 -10,9 +10,43 @@@ What's New in Python 3.6.1 release cand Core and Builtins ----------------- + - Issue #29337: Fixed possible BytesWarning when compare the code objects. + Warnings could be emitted at compile time. + +- Issue #29327: Fixed a crash when pass the iterable keyword argument to + sorted(). + +- Issue #29034: Fix memory leak and use-after-free in os module (path_converter). + +- Issue #29159: Fix regression in bytes(x) when x.__index__() raises Exception. + +- Issue #28932: Do not include if it does not exist. + +- Issue #25677: Correct the positioning of the syntax error caret for + indented blocks. Based on patch by Michael Layzell. + +- Issue #29000: Fixed bytes formatting of octals with zero padding in alternate + form. + +- Issue #26919: On Android, operating system data is now always encoded/decoded + to/from UTF-8, instead of the locale encoding to avoid inconsistencies with + os.fsencode() and os.fsdecode() which are already using UTF-8. + +- Issue #28991: functools.lru_cache() was susceptible to an obscure reentrancy + bug triggerable by a monkey-patched len() function. + +- Issue #28739: f-string expressions are no longer accepted as docstrings and + by ast.literal_eval() even if they do not include expressions. + +- Issue #28512: Fixed setting the offset attribute of SyntaxError by + PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject(). + +- Issue #28918: Fix the cross compilation of xxlimited when Python has been + built with Py_DEBUG defined. + +- Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict. + Improve speed of dict literal with constant keys up to 30%. + Library -------