[issue13872] socket.detach doesn't mark socket._closed

Matt Joiner report at bugs.python.org
Thu Mar 15 18:08:54 CET 2012


Matt Joiner <anacrolix at gmail.com> added the comment:

Yes it should.

A cursory glance shows that __repr__ returns incorrect if _closed is not marked, and an unnecessary mop-up call to socket.close is avoided.

----------
nosy: +giampaolo.rodola, haypo, stutzbach

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


More information about the Python-bugs-list mailing list