mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 23:19:10 +00:00
This change was partially driven by a quirk in Python where peephole optimizations make `continue` lines appear not to be covered. I also think it's generally a good idiom to extract functions for loop bodies when they don't actually accumulate values or maintain other state. With this commit we now prevent potential bugs for vars like `is_stream` leaking between loop iterations.
217 KiB
217 KiB