[issue14310] Socket duplication for windows

Kristján Valur Jónsson report at bugs.python.org
Mon Mar 19 18:59:39 CET 2012


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

Here is a new version of thepatch.  We now have socket.socket.share(pid) and socket.fromshare(data) to do these.
I think this captures the functionality better than "duplicate" or duppid() since there is no actual duplication involved until the fromshare() function is called.

Still no documentation.  What do you think?

----------
Added file: http://bugs.python.org/file24944/duplicate.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14310>
_______________________________________


More information about the Python-bugs-list mailing list