Florent Xicluna added the comment: Though, I cannot reproduce on Debian Squeeze (2.6.6 deb or 2.7 from source) or Ubuntu (2.7.2+ or 3.2).
Someone on OS X might confirm the same issue. This is python 2.7.3 installed from source (using perlbrew) and GCC 4.2.1. The output of the script is: $ python testiterbug.py 2.7.3 (default, May 20 2012, 19:54:58) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] [row for row in iterit(16777216)] Memory usage: 9.3 MB [row for row in iterit(8388608)] Memory usage: 266.6 MB ---------- nosy: +hynek, ned.deily, ronaldoussoren _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15635> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com