[Python-ideas] Membership of infinite iterators

Serhiy Storchaka storchaka at gmail.com
Tue Oct 17 10:26:44 EDT 2017


17.10.17 17:06, Nick Coghlan пише:
> Keep in mind we're not talking about a regular loop you can break out of 
> with Ctrl-C here - we're talking about a tight loop inside the 
> interpreter internals that leads to having to kill the whole host 
> process just to get out of it.

And this is the root of the issue. Just let more tight loops be 
interruptible with Ctrl-C, and this will fix the more general issue.



More information about the Python-ideas mailing list