[New-bugs-announce] [issue3720] segfault in for loop with evil iterator

Gideon Smeding report at bugs.python.org
Fri Aug 29 06:19:32 CEST 2008

New submission from Gideon Smeding <gideon.smeding at gmail.com>:

The attached example crashes python. The crash is caused by an evil 
iterator that removes its own next function.

files: baditerator.py
messages: 72119
nosy: gideon
severity: normal
status: open
title: segfault in for loop with evil iterator
type: crash
versions: Python 2.5, Python 3.0
Added file: http://bugs.python.org/file11300/baditerator.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list