diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-04-30 00:30:08 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-04-30 00:30:08 (GMT) |
commit | cc65c1d9c8fbf0737127f8e8e7516525ee131ba1 (patch) | |
tree | 6998ac07a136c58cc2e40d0677776cdc1e3b129d /Lib/aifc.py | |
parent | 6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0 (diff) | |
download | cpython-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()
........
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r-- | Lib/aifc.py | 2 |
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 |