From: Serhiy Storchaka Date: Sun, 25 Jan 2015 23:24:31 +0000 (+0200) Subject: Issue #23321: Fixed a crash in str.decode() when error handler returned X-Git-Tag: v3.5.0a1~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbd3aa8ece3ed4caf98158086c4599248eb9cddf;p=python Issue #23321: Fixed a crash in str.decode() when error handler returned replacment string longer than mailformed input data. --- bbd3aa8ece3ed4caf98158086c4599248eb9cddf diff --cc Misc/NEWS index 163aff47c5,4c4db0f9b0..3c083630e5 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,19 -11,9 +10,22 @@@ Release date: TB Core and Builtins ----------------- + - Issue #23321: Fixed a crash in str.decode() when error handler returned + replacment string longer than mailformed input data. + +- Issue #22286: The "backslashreplace" error handlers now works with + decoding and translating. + +- Issue #23253: Delay-load ShellExecute[AW] in os.startfile for reduced + startup overhead on Windows. + +- Issue #22038: pyatomic.h now uses stdatomic.h or GCC built-in functions for + atomic memory access if available. Patch written by Vitor de Lima and Gustavo + Temple. + +- Issue #20284: %-interpolation (aka printf) formatting added for bytes and + bytearray. + - Issue #23048: Fix jumping out of an infinite while loop in the pdb. - Issue #20335: bytes constructor now raises TypeError when encoding or errors