Claudiu.Popa added the comment: An alternative to this approach would be to catch the error in __init__ and close the socket there.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21641> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com