summaryrefslogtreecommitdiffstats
path: root/Lib/posixfile.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-09 06:29:35 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-09 06:29:35 (GMT)
commitb37bdc2c7c35f1aa75535f273c1c67dad32873a0 (patch)
tree1fbfcad07e8a718521cf7fe521727c93b24a1038 /Lib/posixfile.py
parent16c4aa441bba65ac0e4386e4b04d25119e8fc609 (diff)
downloadcpython-b37bdc2c7c35f1aa75535f273c1c67dad32873a0.zip
cpython-b37bdc2c7c35f1aa75535f273c1c67dad32873a0.tar.gz
cpython-b37bdc2c7c35f1aa75535f273c1c67dad32873a0.tar.bz2
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.
Diffstat (limited to 'Lib/posixfile.py')
-rw-r--r--Lib/posixfile.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/posixfile.py b/Lib/posixfile.py
index 18f72fd..23f2c85 100644
--- a/Lib/posixfile.py
+++ b/Lib/posixfile.py
@@ -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
#