[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 (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Mon Aug 9 22:44:39 CEST 2010


On Sun, 08 Aug 2010 19:53:38 -0400 Eric Smith <eric at trueblade.com> wrote:

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

Thanks. I've done the rename in r83908.

Regards

Antoine.



More information about the Python-Dev mailing list