cpython/Modules/_sre
Sam Gross 8f17d69b7b
gh-119344: Make critical section API public (#119353)
This makes the following macros public as part of the non-limited C-API for
locking a single object or two objects at once.

* `Py_BEGIN_CRITICAL_SECTION(op)` / `Py_END_CRITICAL_SECTION()`
* `Py_BEGIN_CRITICAL_SECTION2(a, b)` / `Py_END_CRITICAL_SECTION2()`

The supporting functions and structs used by the macros are also exposed for
cases where C macros are not available.
2024-06-21 15:50:18 -04:00
..
clinic gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params (#115016) 2024-02-05 21:49:17 +01:00
sre.c gh-119344: Make critical section API public (#119353) 2024-06-21 15:50:18 -04:00
sre.h gh-109631: Allow interruption of short repeated regex matches (GH-109867) 2023-09-26 10:56:33 +03:00
sre_constants.h gh-105687: Remove deprecated objects from `re` module (#105688) 2023-06-14 12:26:20 +02:00
sre_lib.h gh-114569: Use PyMem_* APIs for most non-PyObject uses (#114574) 2024-01-26 10:11:35 +00:00
sre_targets.h gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00