cpython/Lib/test/test_capi
Mark Shannon 70bd1c2dd2
GH-143732: SEND specialization (GH-148963)
* SEND specialization. Adds 2 new specialized instructions:

* SEND_VIRTUAL: for sends to virtual iterators e.g lists and tuples
* SEND_ASYNC_GEN: for sends to async generators

Tweak FOR_ITER_VIRTUAL so that SEND_VIRTUAL and FOR_ITER_VIRTUAL use equivalent guards
2026-05-05 15:19:16 +01:00
..
__init__.py
__main__.py
check_config.py
test_abstract.py
test_bytearray.py gh-139871: Add bytearray.take_bytes([n]) to efficiently extract bytes (GH-140128) 2025-11-13 13:19:44 +00:00
test_bytes.py
test_codecs.py
test_complex.py
test_config.py gh-142349: Implement PEP 810 - Explicit lazy imports (#142351) 2026-02-12 00:15:33 +00:00
test_dict.py gh-141510: Raise TypeError in PyDict_SetItem() on frozendict (#145564) 2026-03-11 17:05:09 +01:00
test_emscripten.py
test_eval.py
test_eval_code_ex.py
test_exceptions.py gh-146480: Override the exception in _PyErr_SetKeyError() (#146486) 2026-03-27 11:20:19 +00:00
test_file.py
test_float.py gh-143429: Use compile-time NaN encoding detection for test_struct (#143432) 2026-01-09 10:46:48 +00:00
test_frame.py
test_function.py gh-144629: Add test for the PyFunction_GetAnnotations() function (#144630) 2026-02-10 14:38:24 +00:00
test_getargs.py gh-149403: Fix NameError in Lib/test/test_capi/test_getargs.py (#149404) 2026-05-05 09:58:32 +00:00
test_hash.py
test_immortal.py
test_import.py gh-144278: Enable overriding sys.implementation's name and cache_tag when building sysmodule.c (GH-144293) 2026-02-10 00:01:17 +00:00
test_list.py gh-146056: Fix list.__repr__() for lists containing NULLs (GH-146129) 2026-03-19 09:59:48 +02:00
test_long.py gh-147988: Initialize digits in long_alloc() in debug mode (#147989) 2026-04-02 11:55:34 +00:00
test_mem.py
test_misc.py gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
test_modsupport.py gh-144175: Add PyArg_ParseArray() function (#144283) 2026-03-06 21:57:44 +00:00
test_module.py gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
test_number.py
test_object.py gh-148829: Implement PEP 661 (#148831) 2026-04-27 19:28:30 -07:00
test_opt.py GH-143732: SEND specialization (GH-148963) 2026-05-05 15:19:16 +01:00
test_pyatomic.py
test_run.py
test_set.py gh-140232: Do not track frozenset objects with immutables (#140234) 2026-01-28 11:27:37 +01:00
test_slots.py gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
test_structmembers.py
test_sys.py
test_time.py
test_tuple.py gh-146056: Fix list.__repr__() for lists containing NULLs (GH-146129) 2026-03-19 09:59:48 +02:00
test_type.py gh-140550: Initial implementation of PEP 793 – PyModExport (GH-140556) 2025-11-05 12:31:42 +01:00
test_unicode.py Improve tests for the PyUnicodeWriter C API (GH-146157) 2026-03-19 19:15:30 +02:00
test_watchers.py gh-149216: Notify type watchers on heap type deallocation (GH-149236) 2026-05-05 11:24:07 +01:00