[issue14820] socket._decref_socketios and close

R. David Murray report at bugs.python.org
Wed May 16 01:53:34 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

Mostly likely it is correct.  Looking at the definition of close, it is calling "_real_close" when the _io_refs count drops to zero, and _decref_socketios is decrementing that counter.  So the logic is "if we have been closed, see if it is time to close the socket yet".

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list