diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-08 23:24:50 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-08 23:24:50 (GMT) |
commit | e43f9d0ed69addbc34bac4af1b3ad7f1bdd3b149 (patch) | |
tree | e15aa8c051472ddb7ec9a684d9a4e546ee3e14ca /Doc/whatsnew/3.2.rst | |
parent | ba8a98600eddc5e2a87a9148e634ada1a1056495 (diff) | |
download | cpython-e43f9d0ed69addbc34bac4af1b3ad7f1bdd3b149.zip cpython-e43f9d0ed69addbc34bac4af1b3ad7f1bdd3b149.tar.gz cpython-e43f9d0ed69addbc34bac4af1b3ad7f1bdd3b149.tar.bz2 |
Issue #8524: Add a forget() method to socket objects, so as to put the
socket into the closed state without closing the underlying file
descriptor.
Diffstat (limited to 'Doc/whatsnew/3.2.rst')
-rw-r--r-- | Doc/whatsnew/3.2.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index f4802a0..487298f 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -136,6 +136,12 @@ New, Improved, and Deprecated Modules (Contributed by Tarek Ziadé.) +* Socket objects now have a :meth:`~socket.socket.forget()` method which + puts the socket into closed state without actually closing the underlying + file descriptor. The latter can then be reused for other purposes. + + (Added by Antoine Pitrou; :issue:`8524`.) + * The *sqlite3* module has some new features: * XXX *enable_load_extension* |