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