bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. (GH-11384)
Protect dict iterations by wrapping them with _IterationGuard in the following methods: - WeakValueDictionary.copy() - WeakValueDictionary.__deepcopy__() - WeakKeyDictionary.copy() - WeakKeyDictionary.__deepcopy__()
F
Fish committed
96d37dbcd23e65a7a57819aeced9034296ef747e
Parent: df8d2cd
Committed by Antoine Pitrou <pitrou@free.fr>
on 2/7/2019, 7:51:59 PM