STINNER Victor <victor.stin...@haypocalc.com> added the comment: I created a separated patch to block operation on closed socket: Issue #4853.
So I simplified the patch to change on Modules/socketmodule.c and I reused self._checkClosed() in SocketIO. Added file: http://bugs.python.org/file12613/socket_real_close-4.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4791> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com