[Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited)
storchaka at gmail.com
Mon Apr 11 03:26:57 EDT 2016
On 11.04.16 00:53, Jon Ribbens wrote:
>> Try following example:
>> it = iter()
>> for i in range(1000000):
>> it = filter(None, it)
> That does indeed segfault. I guess you should report that as a bug!
There is old issue that doesn't have adequate solution. And this is only
one example, you can get segfault with other recursive iterators.
More information about the Python-Dev