[issue808164] socket.close() doesn't play well with __del__
report at bugs.python.org
Wed Aug 18 23:39:20 CEST 2010
Daniel Stutzbach <daniel at stutzbachenterprises.com> added the comment:
I suspect that it's not possible.
I'm uploading patches that fix the .close method to avoid referencing globals that might be None during interpreter shutdown. Since the .close method has changed significantly in py3k, I'm uploading separate patches for py3k and 2.7.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list