diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2009-01-12 04:50:11 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2009-01-12 04:50:11 (GMT) |
commit | de3369f2ca0e2e1b26482a34fdc09d18a3a928d9 (patch) | |
tree | 65d355ce55f2c3d4c4ff507b7d7a5436b7cf82f5 /Misc | |
parent | ce36962d12b78ede24b71d5ac1075109f5e23787 (diff) | |
download | cpython-de3369f2ca0e2e1b26482a34fdc09d18a3a928d9.zip cpython-de3369f2ca0e2e1b26482a34fdc09d18a3a928d9.tar.gz cpython-de3369f2ca0e2e1b26482a34fdc09d18a3a928d9.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -111,6 +111,10 @@ Core and Builtins Library ------- +- Issue #3826 and #4791: The socket module now closes the underlying socket + appropriately when it is being used via socket.makefile() objects + rather than delaying the close by waiting for garbage collection to do it. + - Issue #3860: GzipFile and BZ2File now support the context manager protocol. - Issue #4867: Fixed a crash in ctypes when passing a string to a |