STINNER Victor added the comment: I also fixed repr(_socket.socket) on Windows 64-bit for closed sockets (on Python 2.7, 3.4 and 3.5):
changeset: 91881:04c916a1e82f branch: 2.7 tag: tip user: Victor Stinner <victor.stin...@gmail.com> date: Sat Jul 26 14:52:55 2014 +0200 files: Lib/test/test_socket.py Misc/NEWS Modules/socketmodule.c description: Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError on closed socket. changeset: 91880:a86c273a1270 branch: 2.7 user: Victor Stinner <victor.stin...@gmail.com> date: Sat Jul 26 14:47:56 2014 +0200 files: Modules/socketmodule.c description: socketmodule.c: backport INVALID_SOCKET from Python 3.5 to simplify the code ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22081> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com