[Python-checkins] CVS: python/dist/src/Lib posixfile.py,1.15,1.16
Fred L. Drake
python-dev@python.org
Fri, 8 Sep 2000 23:29:37 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv26070
Modified Files:
posixfile.py
Log Message:
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.
Index: posixfile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/posixfile.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** posixfile.py 2000/09/09 06:26:40 1.15
--- posixfile.py 2000/09/09 06:29:35 1.16
***************
*** 68,75 ****
hex(id(self))[2:])
- def __del__(self):
- if hasattr(self, "_file_"):
- self._file_.close()
-
#
# Initialization routines
--- 68,71 ----