]> granicus.if.org Git - python/commit
Fixes issue #3826 and #4791:
authorGregory P. Smith <greg@mad-scientist.com>
Mon, 12 Jan 2009 04:50:11 +0000 (04:50 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Mon, 12 Jan 2009 04:50:11 +0000 (04:50 +0000)
commitde3369f2ca0e2e1b26482a34fdc09d18a3a928d9
tree65d355ce55f2c3d4c4ff507b7d7a5436b7cf82f5
parentce36962d12b78ede24b71d5ac1075109f5e23787
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