Page MenuHomePhabricator

lit Don't raise StopIteration to end generator function

Authored by hans on Thu, Apr 30, 6:06 AM.



The intention here seems to be to end the generator function, but with modern Python, raising StopIteration causes a runtime error (

Diff Detail

Event Timeline

hans created this revision.Thu, Apr 30, 6:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptThu, Apr 30, 6:06 AM
Herald added a subscriber: delcypher. · View Herald Transcript
thakis accepted this revision.Thu, Apr 30, 9:01 AM


This revision is now accepted and ready to land.Thu, Apr 30, 9:01 AM
This revision was automatically updated to reflect the committed changes.