[Python-ideas] Membership of infinite iterators

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Oct 18 18:34:20 EDT 2017


Nick Coghlan wrote:
> since breaking up the current single level loops as nested loops 
> would be a pre-requisite for allowing these APIs to check for signals 
> while they're running while keeping the per-iteration overhead low

Is there really much overhead? Isn't it just checking a flag?

-- 
Greg


More information about the Python-ideas mailing list