From: Benjamin Peterson Date: Thu, 12 Nov 2015 06:14:08 +0000 (-0800) Subject: merge 3.5 (#25569) X-Git-Tag: v3.5.1rc1~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86429bd1749e475145198b2d1498ef43b2597ab2;p=thirdparty%2FPython%2Fcpython.git merge 3.5 (#25569) --- 86429bd1749e475145198b2d1498ef43b2597ab2 diff --cc Misc/NEWS index 07cf60f884ab,cf81afe56675..85dd15864acc --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -217,24 -205,6 +217,26 @@@ Librar - Issue #16180: Exit pdb if file has syntax error, instead of trapping user in an infinite loop. Patch by Xavier de Gaye. +- Issue #24891: Fix a race condition at Python startup if the file descriptor + of stdin (0), stdout (1) or stderr (2) is closed while Python is creating + sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set + to None if the creation of the object failed, instead of raising an OSError + exception. Initial patch written by Marco Paolini. + +- Issue #24992: Fix error handling and a race condition (related to garbage + collection) in collections.OrderedDict constructor. + +- Issue #24881: Fixed setting binary mode in Python implementation of FileIO + on Windows and Cygwin. Patch from Akira Li. + ++- Issue #25569: Fix memory leak in SSLSocket.getpeercert(). ++ +- Issue #25471: Sockets returned from accept() shouldn't appear to be + nonblocking. + +- Issue #25319: When threading.Event is reinitialized, the underlying condition + should use a regular lock rather than a recursive lock. + - Issue #21112: Fix regression in unittest.expectedFailure on subclasses. Patch from Berker Peksag.