[issue32038] Add API to intercept socket.close()

Guido van Rossum report at bugs.python.org
Thu Nov 16 12:04:15 EST 2017


Guido van Rossum <guido at python.org> added the comment:

Perhaps you can just dup() the socket? That's what the ref counter is for
IIRC.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32038>
_______________________________________


More information about the Python-bugs-list mailing list