diff options
author | Sam Gross <colesbury@gmail.com> | 2024-04-02 14:45:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 14:45:00 (GMT) |
commit | 027fa2eccf39ddccdf7b416d16601277a7112054 (patch) | |
tree | a116ac1f4e6a1fcd4ef327e742850a92cb146a0f /Python/pystrcmp.c | |
parent | 954d616b4c8cd091214aa3b8ea886bcf9067243a (diff) | |
download | cpython-027fa2eccf39ddccdf7b416d16601277a7112054.zip cpython-027fa2eccf39ddccdf7b416d16601277a7112054.tar.gz cpython-027fa2eccf39ddccdf7b416d16601277a7112054.tar.bz2 |
gh-112087: Make `list.extend(dict)` behave atomically (#117438)
Add a special case for `list.extend(dict)` and `list(dict)` so that those
patterns behave atomically with respect to modifications to the list or
dictionary.
This is required by multiprocessing, which assumes that
`list(_finalizer_registry)` is atomic.
Diffstat (limited to 'Python/pystrcmp.c')
0 files changed, 0 insertions, 0 deletions