[issue22081] Backport repr(socket.socket) from Python 3.5 to Python 2.7

STINNER Victor report at bugs.python.org
Sat Jul 26 19:33:25 CEST 2014


STINNER Victor added the comment:

> I afraid this can break doctests. Isn't this against policy?

Ok, I close the issue. A workaround is to use repr(sock._sock) to use repr(_socket.socket) which contains a lot of information.

----------
resolution:  -> wont fix
status: open -> closed

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


More information about the Python-bugs-list mailing list