Fix bug updating WeakKeyDictionary during iteration #1697

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -150,7 +150,7 @@ def _invalidate_internal(self, value, invalidating_node):
if self.pass_through or status_changed:
self._invalid = value
- for parent in self._parents.itervalues():
+ for parent in self._parents.values():
parent._invalidate_internal(value=value,
invalidating_node=self)