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.
This commit is contained in:
Fred Drake 2000-09-09 06:29:35 +00:00
parent 16c4aa441b
commit b37bdc2c7c
1 changed files with 0 additions and 4 deletions

View File

@ -67,10 +67,6 @@ class _posixfile_:
(self.states[file.closed], file.name, file.mode, \ (self.states[file.closed], file.name, file.mode, \
hex(id(self))[2:]) hex(id(self))[2:])
def __del__(self):
if hasattr(self, "_file_"):
self._file_.close()
# #
# Initialization routines # Initialization routines
# #