From: Ned Deily Date: Wed, 14 Sep 2011 21:56:32 +0000 (-0700) Subject: Issue #9871: Prevent IDLE 3 crash when given byte stings X-Git-Tag: v3.3.0a1~1533 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86ca04ccc72820b3233f0010ad4c6f91208a7e18;p=thirdparty%2FPython%2Fcpython.git Issue #9871: Prevent IDLE 3 crash when given byte stings with invalid hex escape sequences, like b'\x0'. (Original patch by Claudiu Popa.) --- 86ca04ccc72820b3233f0010ad4c6f91208a7e18 diff --cc Misc/NEWS index e3203d3efdcc,5289c3799dd2..6df52156636d --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -274,21 -92,6 +274,25 @@@ Core and Builtin Library ------- ++- Issue #9871: Prevent IDLE 3 crash when given byte stings ++ with invalid hex escape sequences, like b'\x0'. ++ (Original patch by Claudiu Popa.) ++ +- Issue #12306: Expose the runtime version of the zlib C library as a constant, + ZLIB_RUNTIME_VERSION, in the zlib module. Patch by Torsten Landschoff. + +- Issue #12959: Add collections.ChainMap to collections.__all__. + +- Issue #8933: distutils' PKG-INFO files and packaging's METADATA files will + now correctly report Metadata-Version: 1.1 instead of 1.0 if a Classifier or + Download-URL field is present. + +- Issue #12567: Add curses.unget_wch() function. Push a character so the next + get_wch() will return it. + +- Issue #9561: distutils and packaging now writes egg-info files using UTF-8, + instead of the locale encoding. + - Issue #8286: The distutils command sdist will print a warning message instead of crashing when an invalid path is given in the manifest template.