]> granicus.if.org Git - python/commit
Fix issue 9794: adds context manager protocol to socket.socket so that socket.create_...
authorGiampaolo Rodolà <g.rodola@gmail.com>
Wed, 8 Sep 2010 22:44:12 +0000 (22:44 +0000)
committerGiampaolo Rodolà <g.rodola@gmail.com>
Wed, 8 Sep 2010 22:44:12 +0000 (22:44 +0000)
commitb383dbb45e62054e3a73792b7e903178bee18aa8
tree929fb3d74b0bfb2d5427789722ee3363b535e7c4
parent7c9cf01238cdfb597041d12e71d5a11a98402b34
Fix issue 9794: adds context manager protocol to socket.socket so that socket.create_connection() can be used with the 'with' statement.
Doc/library/socket.rst
Doc/whatsnew/3.2.rst
Lib/socket.py
Lib/test/test_socket.py