summaryrefslogtreecommitdiffstats
path: root/Python/pystrcmp.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-04-02 14:45:00 (GMT)
committerGitHub <noreply@github.com>2024-04-02 14:45:00 (GMT)
commit027fa2eccf39ddccdf7b416d16601277a7112054 (patch)
treea116ac1f4e6a1fcd4ef327e742850a92cb146a0f /Python/pystrcmp.c
parent954d616b4c8cd091214aa3b8ea886bcf9067243a (diff)
downloadcpython-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