From cc65c1d9c8fbf0737127f8e8e7516525ee131ba1 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 30 Apr 2009 00:30:08 +0000 Subject: 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() ........ --- Lib/aifc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/aifc.py b/Lib/aifc.py index 36312b3..702a451 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -690,6 +690,8 @@ class Aifc_write: self._datalength != self._datawritten or \ self._marklength: self._patchheader() + # Prevent ref cycles + self._convert = None self._file.flush() self._file = None -- cgit v0.12