Author: Armin Rigo <[email protected]>
Branch: gc-del
Changeset: r63649:a046776e4e7d
Date: 2013-04-26 15:50 +0200
http://bitbucket.org/pypy/pypy/changeset/a046776e4e7d/

Log:    Another __del__

diff --git a/pypy/module/_io/interp_bufferedio.py 
b/pypy/module/_io/interp_bufferedio.py
--- a/pypy/module/_io/interp_bufferedio.py
+++ b/pypy/module/_io/interp_bufferedio.py
@@ -957,9 +957,9 @@
             self.w_writer = None
             raise
 
-    def __del__(self):
+    def invoke_finalizer(self):
         self.clear_all_weakrefs()
-        # Don't call the base __del__: do not close the files!
+        # Don't call the base invoke_finalizer(): do not close the files!
 
     # forward to reader
     for method in ['read', 'peek', 'read1', 'readinto', 'readable']:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to