cpython/Lib/test/test_capi
Sam Gross 45bc120d45
gh-130519: Fix crash in QSBR when destructor reenters QSBR (gh-130553)
The `free_work_item()` function in QSBR may call arbitrary code via
Python object destructors, which may reenter the QSBR code. Reorder
the processing of work items to be robust to reentrancy.

Also fix the TODO for the out of memory situation.
2025-02-26 14:55:15 -05:00
..
__init__.py
__main__.py
check_config.py
test_abstract.py
test_bytearray.py gh-129559: Add bytearray.resize() (GH-129560) 2025-02-05 11:33:17 -08:00
test_bytes.py
test_codecs.py gh-126004: Remove redundant safeguards for codecs handlers tests (#127680) 2025-01-23 16:06:16 +01:00
test_complex.py
test_config.py
test_dict.py
test_eval.py
test_eval_code_ex.py
test_exceptions.py
test_file.py gh-111495: Add PyFile tests (#129449) 2025-01-30 18:05:32 +01:00
test_float.py
test_frame.py gh-93649: Move PyFrame C API tests to test_capi (#129512) 2025-01-31 13:51:58 +01:00
test_function.py gh-93649: Add Modules/_testcapi/function.c file (#129521) 2025-01-31 16:02:50 +01:00
test_getargs.py
test_hash.py
test_immortal.py gh-128509: Add PyUnstable_IsImmortal for finding immortal objects (GH-129182) 2025-01-27 14:36:33 +01:00
test_import.py gh-128911: Add PyImport_ImportModuleAttr() function (#128912) 2025-01-30 11:17:29 +00:00
test_list.py
test_long.py
test_mem.py
test_misc.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_number.py gh-86069: Add more PyNumber_InPlacePower() tests (GH-130111) 2025-02-17 00:07:10 +00:00
test_object.py gh-130519: Fix crash in QSBR when destructor reenters QSBR (gh-130553) 2025-02-26 14:55:15 -05:00
test_opt.py GH-129715: Remove _DYNAMIC_EXIT (GH-129716) 2025-02-07 11:41:17 -08:00
test_pyatomic.py
test_run.py
test_set.py
test_structmembers.py
test_sys.py
test_time.py
test_tuple.py
test_type.py gh-93649: Add Modules/_testcapi/type.c file (#129516) 2025-01-31 15:03:54 +01:00
test_unicode.py
test_watchers.py