[Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited)
Serhiy Storchaka
storchaka at gmail.com
Mon Apr 11 03:26:57 EDT 2016
More information about the Python-Dev mailing list
Mon Apr 11 03:26:57 EDT 2016
- Previous message (by thread): [Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited)
- Next message (by thread): [Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 11.04.16 00:53, Jon Ribbens wrote: >> Try following example: >> >> it = iter([1]) >> for i in range(1000000): >> it = filter(None, it) >> next(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.
- Previous message (by thread): [Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited)
- Next message (by thread): [Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list