]> granicus.if.org Git - python/commitdiff
Issue #27348: Merge exception formatting fix from 3.5 into 3.6
authorMartin Panter <vadmium+py@gmail.com>
Thu, 22 Sep 2016 10:33:21 +0000 (10:33 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Thu, 22 Sep 2016 10:33:21 +0000 (10:33 +0000)
1  2 
Lib/_pydecimal.py
Lib/test/test_traceback.py
Lib/traceback.py
Misc/NEWS

Simple merge
Simple merge
Simple merge
diff --cc Misc/NEWS
index 1c1a64c801e3400a78ef4b85e88454426c8c9280,4d2fc0a39b7eba5ed05a550acc19e0842528d07a..8f42acd3f01d3dfbd90fbd6f248fae1d1929ca59
+++ b/Misc/NEWS
@@@ -23,131 -16,8 +23,135 @@@ Core and Builtin
  - Issue #28131: Fix a regression in zipimport's compile_source().  zipimport
    should use the same optimization level as the interpreter.
  
 -- Issue #25221: Fix corrupted result from PyLong_FromLong(0) when
 -  Python is compiled with NSMALLPOSINTS = 0.
 +- Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly
 +  optimize memcpy().
 +
 +- Issue #28120: Fix dict.pop() for splitted dictionary when trying to remove a
 +  "pending key" (Not yet inserted in split-table). Patch by Xiang Zhang.
 +
 +- Issue #26182: Raise DeprecationWarning when async and await keywords are
 +  used as variable/attribute/class/function name.
 +
 +Library
 +-------
 +
++- Issue #27348: In the traceback module, restore the formatting of exception
++  messages like "Exception: None".  This fixes a regression introduced in
++  3.5a2.
++
 +- Issue #25651: Allow falsy values to be used for msg parameter of subTest().
 +
 +- Issue #27778: Fix a memory leak in os.getrandom() when the getrandom() is
 +  interrupted by a signal and a signal handler raises a Python exception.
 +
 +- Issue #28200: Fix memory leak on Windows in the os module (fix
 +  path_converter() function).
 +
 +- Issue #25400: RobotFileParser now correctly returns default values for
 +  crawl_delay and request_rate.  Initial patch by Peter Wirtz.
 +
 +- Issue #27932: Prevent memory leak in win32_ver().
 +
 +- Fix UnboundLocalError in socket._sendfile_use_sendfile.
 +
 +- Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of
 +  os.stat().  Patch by Eryk Sun.
 +
 +- Issue #22493: Warning message emitted by using inline flags in the middle of
 +  regular expression now contains a (truncated) regex pattern.
 +  Patch by Tim Graham.
 +
 +- Issue #25270: Prevent codecs.escape_encode() from raising SystemError when
 +  an empty bytestring is passed.
 +
 +- Issue #28181: Get antigravity over HTTPS. Patch by Kaartic Sivaraam.
 +
 +- Issue #25895: Enable WebSocket URL schemes in urllib.parse.urljoin.
 +  Patch by Gergely Imreh and Markus Holtermann.
 +
 +- Issue #28114: Fix a crash in parse_envlist() when env contains byte strings.
 +  Patch by Eryk Sun.
 +
 +- Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
 +
 +- Issue #27906: Fix socket accept exhaustion during high TCP traffic.
 +  Patch by Kevin Conway.
 +
 +- Issue #28174: Handle when SO_REUSEPORT isn't properly supported.
 +  Patch by Seth Michael Larson.
 +
 +- Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__.
 +  Patch by iceboy.
 +
 +- Issue #26909: Fix slow pipes IO in asyncio.
 +  Patch by INADA Naoki.
 +
 +- Issue #28176: Fix callbacks race in asyncio.SelectorLoop.sock_connect.
 +
 +- Issue #27759: Fix selectors incorrectly retain invalid file descriptors.
 +  Patch by Mark Williams.
 +
 +Windows
 +-------
 +
 +- Issue #28110: launcher.msi has different product codes between 32-bit and
 +  64-bit
 +
 +- Issue #28161: Opening CON for write access fails
 +
 +- Issue #28162: WindowsConsoleIO readall() fails if first line starts with
 +  Ctrl+Z
 +
 +- Issue #28163: WindowsConsoleIO fileno() passes wrong flags to
 +  _open_osfhandle
 +
 +- Issue #28164: _PyIO_get_console_type fails for various paths
 +
 +- Issue #28137: Renames Windows path file to ._pth
 +
 +- Issue #28138: Windows ._pth file should allow import site
 +
 +Build
 +-----
 +
 +- Issue #26661: setup.py now detects system libffi with multiarch wrapper.
 +
 +- Issue #15819: Remove redundant include search directory option for building
 +  outside the source tree.
 +
 +
 +What's New in Python 3.6.0 beta 1
 +=================================
 +
 +*Release date: 2016-09-12*
 +
 +Core and Builtins
 +-----------------
 +
 +- Issue #23722: The __class__ cell used by zero-argument super() is now
 +  initialized from type.__new__ rather than __build_class__, so class methods
 +  relying on that will now work correctly when called from metaclass methods
 +  during class creation. Patch by Martin Teichmann.
 +
 +- Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python
 +  is compiled with NSMALLPOSINTS = 0.
 +
 +- Issue #27080: Implement formatting support for PEP 515.  Initial patch
 +  by Chris Angelico.
 +
 +- Issue #27199: In tarfile, expose copyfileobj bufsize to improve throughput.
 +  Patch by Jason Fried.
 +
 +- Issue #27948: In f-strings, only allow backslashes inside the braces
 +  (where the expressions are).  This is a breaking change from the 3.6
 +  alpha releases, where backslashes are allowed anywhere in an
 +  f-string.  Also, require that expressions inside f-strings be
 +  enclosed within literal braces, and not escapes like
 +  f'\x7b"hi"\x7d'.
 +
 +- Issue #28046: Remove platform-specific directories from sys.path.
 +
 +- Issue #28071: Add early-out for differencing from an empty set.
  
  - Issue #25758: Prevents zipimport from unnecessarily encoding a filename
    (patch by Eryk Sun)