summaryrefslogtreecommitdiff
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorFish <ltfish@users.noreply.github.com>2019-02-07 14:51:59 -0500
committerAntoine Pitrou <pitrou@free.fr>2019-02-07 19:51:59 +0000
commit96d37dbcd23e65a7a57819aeced9034296ef747e (patch)
treef8a5c4d702642dbc6da04a85d818ae7689d5a1db /Python/symtable.c
parentdf8d2cde63c865446468351f8f648e1c7bd45109 (diff)
downloadcpython-git-96d37dbcd23e65a7a57819aeced9034296ef747e.tar.gz
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__()
Diffstat (limited to 'Python/symtable.c')
0 files changed, 0 insertions, 0 deletions