STINNER Victor added the comment: +1 for the idea, +1 for the need of tests.
About the patch: you may use a try/except for getsockname(), and another for getpeername(). ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17675> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com