]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport r68539, Fixes issue #3826 and #4791:
authorGregory P. Smith <greg@mad-scientist.com>
Tue, 20 Jan 2009 04:02:33 +0000 (04:02 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Tue, 20 Jan 2009 04:02:33 +0000 (04:02 +0000)
commit61251d5256f86f547e872d1ae4175261de5a1573
treebf6353e6ca2683cf1640bb8c9363aae8feebbf71
parent40e5081c43b2befe9faa1d18d0bff12fbe78ad7f
Backport r68539, Fixes issue #3826 and #4791:
Have SocketIO objects update their reference count in the underlying
socket object on close() so that the underlying socket object is
closed immediately when the last user is done rather than at an
unknown later time when garbage collection can do it.
Lib/socket.py
Lib/test/test_socket.py
Misc/NEWS