Avoid altering dictionary size during iteration, by gathering keys that need to be deleted first.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Fixes `RuntimeError` on Python 3 introduced in 53ea23128e375ef84511fd2b22b740eca15d0854
authored by Martijn Pieters · committed by Martijn Pieters · parent c7c26fb · Browse files · 1 file+5 added−4 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+5 added−4 removed
- other:+5 added−4 removed