R. David Murray <rdmur...@bitdance.com> added the comment: I think the fix is to either put a try/except around the socket shutdown call, or to remove it entirely (I think things will still work right on linux without it). If you leave the self.c_sock_close = True in, it should take care of the resource warning.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11867> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com