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

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


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

OK, then maybe socket objects should get a dup() method that just
increments the ref counter, and that would be the public API you're looking
for?

----------

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


More information about the Python-bugs-list mailing list