The _socketobject class has no need for a __del__ method: all it did was
to delete the reference to self._sock, and the regular destructor will do that just fine. This made some hacks in close() unnecessary. The _fileobject class still has a __del__ method, because it must flush.
G
Guido van Rossum committed
715f970969e7acb4ba66b6369ce8bd9d88fc6ef1
Parent: 48b7969