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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4