[Python-ideas] Membership of infinite iterators

Serhiy Storchaka storchaka at gmail.com
Wed Oct 18 15:30:43 EDT 2017

18.10.17 22:21, Koos Zevenhoven пише:
> ​Nice! Though I'd really like a general ​solution that other code can 
> easily adopt, even third-party extension libraries.

What is the more general solution? For interrupting C code you need to 
check signals manually, either in every loop, or in every iterator. It 
seems to me that the number of loops is larger than the number of iterators.

More information about the Python-ideas mailing list