Apparently iterators obtained from WeakKeyDictionaries aren't threadsafe, since finalization may modify the underlying dict at any time. For now, we can avoid using iterators obtained from WeakKeyDictionaries, but this is arguably a bug in WeakKeyDictionary.
Apparently iterators obtained from WeakKeyDictionaries aren't threadsafe, since finalization may modify the underlying dict at any time. For now, we can avoid using iterators obtained from WeakKeyDictiona ries, but this is arguably a bug in WeakKeyDictionary.