Commit b37bdc2c authored by Fred Drake's avatar Fred Drake

Do not try to fix bugs while sleeping.

Paid more attention to the comments on the report; Martin suggested just
not having a __del__() method, which makes more sense in this case.  So
I have removed it.

This closes SourceForge bug #113850.  Again.
parent 16c4aa44
......@@ -67,10 +67,6 @@ class _posixfile_:
(self.states[file.closed], file.name, file.mode, \
hex(id(self))[2:])
def __del__(self):
if hasattr(self, "_file_"):
self._file_.close()
#
# Initialization routines
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment