mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
The methods are already wrapped with a lock, which makes them thread-safe in free-threaded build. This replaces `PyThread_acquire_lock` with `PyMutex` and removes some macros and allocation handling code. Also add a test for free-threading to ensure we aren't getting data races and that the locking is working. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_bisect.py | ||
| test_bz2.py | ||
| test_code.py | ||
| test_cprofile.py | ||
| test_dbm_gnu.py | ||
| test_dict.py | ||
| test_enumerate.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_methodcaller.py | ||
| test_mmap.py | ||
| test_monitoring.py | ||
| test_pwd.py | ||
| test_races.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 | ||