From: Serhiy Storchaka Date: Sun, 3 Feb 2013 15:09:17 +0000 (+0200) Subject: Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying X-Git-Tag: v3.4.0a1~1457^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cce1b8eda8b697e68cb7233332f110a6a7a684a2;p=thirdparty%2FPython%2Fcpython.git Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying stream or a decoder produces data of an unexpected type (i.e. when io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec). --- cce1b8eda8b697e68cb7233332f110a6a7a684a2 diff --cc Misc/NEWS index 28cc313db12d,6f8084e0a1cb..71bd91a5478d --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -235,10 -163,10 +235,14 @@@ Core and Builtin Library ------- + - Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying + stream or a decoder produces data of an unexpected type (i.e. when + io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec). + +- Issue #17015: When it has a spec, a Mock object now inspects its signature + when matching calls, so that arguments can be matched positionally or + by name. + - Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.