]> granicus.if.org Git - python/commit
Issue #23865: close() methods in multiple modules now are idempotent and more
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 10 Apr 2015 10:24:41 +0000 (13:24 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 10 Apr 2015 10:24:41 +0000 (13:24 +0300)
commit7e7a3dba5fd4262269f713dfe21ba7e4746fc2dd
treea0777a3e70ae76f294fac756c684ec4e24d5df1d
parent842f00e72509db50957ceb00d289b305dbc5a0a5
Issue #23865: close() methods in multiple modules now are idempotent and more
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
27 files changed:
Lib/aifc.py
Lib/binhex.py
Lib/chunk.py
Lib/dbm/dumb.py
Lib/distutils/text_file.py
Lib/fileinput.py
Lib/ftplib.py
Lib/gzip.py
Lib/http/client.py
Lib/logging/__init__.py
Lib/logging/handlers.py
Lib/mailbox.py
Lib/multiprocessing/connection.py
Lib/multiprocessing/queues.py
Lib/poplib.py
Lib/selectors.py
Lib/shelve.py
Lib/smtplib.py
Lib/sunau.py
Lib/tarfile.py
Lib/telnetlib.py
Lib/tempfile.py
Lib/urllib/response.py
Lib/wave.py
Lib/xml/sax/expatreader.py
Lib/xmlrpc/client.py
Misc/NEWS