summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-04-30 00:30:08 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-04-30 00:30:08 (GMT)
commitcc65c1d9c8fbf0737127f8e8e7516525ee131ba1 (patch)
tree6998ac07a136c58cc2e40d0677776cdc1e3b129d
parent6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0 (diff)
downloadcpython-cc65c1d9c8fbf0737127f8e8e7516525ee131ba1.zip
cpython-cc65c1d9c8fbf0737127f8e8e7516525ee131ba1.tar.gz
cpython-cc65c1d9c8fbf0737127f8e8e7516525ee131ba1.tar.bz2
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() ........
-rw-r--r--Lib/aifc.py2
1 files changed, 2 insertions, 0 deletions
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