summaryrefslogtreecommitdiff
path: root/Lib/posixfile.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-09 06:29:35 +0000
committerFred Drake <fdrake@acm.org>2000-09-09 06:29:35 +0000
commit8ab4f602bb0cdf71adff52d8bb722e5cc6fcc152 (patch)
treec87a77e4d73f505b6f25728e8c4551443892f80f /Lib/posixfile.py
parent72f8cc9ccdf4969dbeb3febfe9e9eefdebe84b17 (diff)
downloadcpython-8ab4f602bb0cdf71adff52d8bb722e5cc6fcc152.tar.gz
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 18f72fd0e5..23f2c8522e 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
#