]> granicus.if.org Git - python/commitdiff
Issue #29337: Fixed possible BytesWarning when compare the code objects.
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 24 Jan 2017 18:52:43 +0000 (20:52 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 24 Jan 2017 18:52:43 +0000 (20:52 +0200)
Warnings could be emitted at compile time.

1  2 
Lib/test/test_compile.py
Misc/NEWS
Objects/codeobject.c

Simple merge
diff --cc Misc/NEWS
index 414369cf9b7102da1bfa14ab15b0b7e0a2a64ecb,19d90af152547b2c402512783ba29c4ba60a44b0..2b319ecf90283175e44eec11501e8b2b3b0cbac1
+++ 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 <sys/random.h> 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
  -------
  
Simple merge