[Python-checkins] r72136 - in python/branches/py3k: Lib/aifc.py

benjamin.peterson python-checkins at python.org
Thu Apr 30 02:30:09 CEST 2009


Author: benjamin.peterson
Date: Thu Apr 30 02:30:08 2009
New Revision: 72136

Log:
Merged revisions 72135 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72135 | benjamin.peterson | 2009-04-29 19:23:11 -0500 (Wed, 29 Apr 2009) | 1 line
  
  prevent ref cycles by removing bound method on close()
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/aifc.py

Modified: python/branches/py3k/Lib/aifc.py
==============================================================================
--- python/branches/py3k/Lib/aifc.py	(original)
+++ python/branches/py3k/Lib/aifc.py	Thu Apr 30 02:30:08 2009
@@ -690,6 +690,8 @@
               self._datalength != self._datawritten or \
               self._marklength:
             self._patchheader()
+        # Prevent ref cycles
+        self._convert = None
         self._file.flush()
         self._file = None
 


More information about the Python-checkins mailing list