From: Victor Stinner Date: Tue, 7 Apr 2015 10:50:24 +0000 (+0200) Subject: (Merge 3.4) Issue #23881: urllib.request.ftpwrapper constructor now closes the X-Git-Tag: v3.5.0a4~149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9dd680d238a5296a8c537b715aadd60a5817120;p=thirdparty%2FPython%2Fcpython.git (Merge 3.4) Issue #23881: urllib.request.ftpwrapper constructor now closes the socket if the FTP connection failed to fix a ResourceWarning. --- a9dd680d238a5296a8c537b715aadd60a5817120 diff --cc Misc/NEWS index 7b64a89682e7,645e1ade1bb1..50932081fc09 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -19,14 -24,9 +19,17 @@@ Core and Builtin Library ------- + - Issue #23881: urllib.request.ftpwrapper constructor now closes the socket if + the FTP connection failed to fix a ResourceWarning. + +- Issue #23853: :meth:`socket.socket.sendall` does no more reset the socket + timeout each time data is sent successfuly. The socket timeout is now the + maximum total duration to send all data. + +- Issue #22721: An order of multiline pprint output of set or dict containing + orderable and non-orderable elements no longer depends on iteration order of + set or dict. + - Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.