[Python-Dev] r83869 - in python/branches/py3k: Doc/library/socket.rst Doc/whatsnew/3.2.rst Lib/ssl.py Lib/test/test_socket.py Misc/NEWS Modules/socketmodule.c
Eric Smith
eric at trueblade.com
Mon Aug 9 01:53:38 CEST 2010
On 8/8/10 7:48 PM, Antoine Pitrou wrote:
> On Mon, 9 Aug 2010 01:24:50 +0200 (CEST)
> antoine.pitrou<python-checkins at python.org> wrote:
>> Author: antoine.pitrou
>> Date: Mon Aug 9 01:24:50 2010
>> New Revision: 83869
>>
>> Log:
>> 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.
>
> Benjamin suggested to call this detach() instead. What do you think?
detach() is the name I've seen most often for this. For example, that's
what MFC uses:
http://msdn.microsoft.com/en-us/library/7zhdchw8(VS.80).aspx
--
Eric.
More information about the Python-Dev
mailing list