Move the helper class _closedsocket *into* the _socketobject class.
This way, when a socket object is deleted after the socket module has already been zapped by module shutdown, we don't get annoying warnings about exceptions in __del__ methods.
Showing
Please register or sign in to comment