classification
Title: Memory leak in itertools.chain()
Type: resource usage
Components: Extension Modules Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: belopolsky, ocean-city, rhettinger
Priority: Keywords: patch

Created on 2008-03-04 13:10 by ocean-city, last changed 2008-03-04 22:34 by rhettinger.

Files
File name Uploaded Description Edit Remove
fix_leak.patch ocean-city, 2008-03-04 13:10
Messages
msg63252 (view) Author: Hirokazu Yamamoto (ocean-city) Date: 2008-03-04 13:10
Fixed memory leak in itertools.chain().
This fixes following refleak errors shown in issue2223.
test_deque test_heapq test_itertools test_list test_set test_userlist
msg63253 (view) Author: Alexander Belopolsky (belopolsky) Date: 2008-03-04 13:54
Good catch, Hirokazu!

The patch looks correct to me.

Works as advertised on Mac OS 10.4.
msg63267 (view) Author: Raymond Hettinger (rhettinger) Date: 2008-03-04 22:34
Fixed in r61237.
History
Date User Action Args
2008-03-04 22:34:01rhettingersetstatus: open -> closed
resolution: fixed
messages: + msg63267
2008-03-04 16:26:27rhettingersetassignee: rhettinger
nosy: + rhettinger
2008-03-04 13:54:28belopolskysetnosy: + belopolsky
messages: + msg63253
2008-03-04 13:10:43ocean-citycreate