From: Benjamin Peterson Date: Thu, 30 Apr 2009 00:30:08 +0000 (+0000) Subject: Merged revisions 72135 via svnmerge from X-Git-Tag: v3.1b1~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc65c1d9c8fbf0737127f8e8e7516525ee131ba1;p=python 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() ........ --- diff --git a/Lib/aifc.py b/Lib/aifc.py index 36312b3c2c..702a451b12 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