R. David Murray added the comment: OK, it's a bug in mock_socket, then. getpeername should be returning a tuple (address, port).
I went ahead and fixed it, and committed the patch. Thanks Milan! Sorry the reviews were so delayed. ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21725> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com