diff options
author | Fish <ltfish@users.noreply.github.com> | 2019-02-07 14:51:59 -0500 |
---|---|---|
committer | Antoine Pitrou <pitrou@free.fr> | 2019-02-07 19:51:59 +0000 |
commit | 96d37dbcd23e65a7a57819aeced9034296ef747e (patch) | |
tree | f8a5c4d702642dbc6da04a85d818ae7689d5a1db /Python | |
parent | df8d2cde63c865446468351f8f648e1c7bd45109 (diff) | |
download | cpython-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')
0 files changed, 0 insertions, 0 deletions