Chris Angelico added the comment:

Sadly, I don't know of a way to check if that's the case, other than by 
manually going through and eyeballing the code - if there's "raise 
StopIteration", see if there's also "yield" in the same function. The three 
cited examples are (I checked those straight away), but frankly, I am not 
volunteering to go manually through all of github in search of examples :|


Python tracker <>
Python-bugs-list mailing list

Reply via email to