mirror of
https://github.com/python/cpython.git
synced 2026-06-07 02:11:41 +00:00
Avoid racing with the owning thread's refcount operations when immortalizing an interned string: if we don't own it and its refcount isn't merged, intern a copy we own instead. Use atomic stores in _Py_SetImmortalUntracked so concurrent atomic reads are race-free. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_bisect.py | ||
| test_bz2.py | ||
| test_capi.py | ||
| test_code.py | ||
| test_collections.py | ||
| test_cprofile.py | ||
| test_csv.py | ||
| test_dbm_gnu.py | ||
| test_dict.py | ||
| test_enumerate.py | ||
| test_frame.py | ||
| test_func_annotations.py | ||
| test_functools.py | ||
| test_gc.py | ||
| test_generators.py | ||
| test_grp.py | ||
| test_heapq.py | ||
| test_io.py | ||
| test_iteration.py | ||
| test_itertools.py | ||
| test_itertools_combinatoric.py | ||
| test_json.py | ||
| test_list.py | ||
| test_lzma.py | ||
| test_methodcaller.py | ||
| test_mmap.py | ||
| test_monitoring.py | ||
| test_pwd.py | ||
| test_races.py | ||
| test_re.py | ||
| test_resource.py | ||
| test_reversed.py | ||
| test_set.py | ||
| test_slots.py | ||
| test_str.py | ||
| test_suggestions.py | ||
| test_syslog.py | ||
| test_tokenize.py | ||
| test_type.py | ||
| test_uuid.py | ||
| test_zip.py | ||
| test_zlib.py | ||