]> granicus.if.org Git - python/commit
Move the helper class _closedsocket *into* the _socketobject class.
authorGuido van Rossum <guido@python.org>
Tue, 18 Dec 2001 22:22:25 +0000 (22:22 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Dec 2001 22:22:25 +0000 (22:22 +0000)
commit99d2fbb8236dc792d7e3762cf1d7419405db4752
tree4953cba02eb669470adfe42d6c37112705f8497e
parentf499b030bd7bc83e30c03b46ff1a2c7f3e41da93
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.
Lib/socket.py