cpython/Misc/NEWS.d/next/C_API
Nathan Goldbaum 89c220b93c
gh-133296: Publicly expose critical section API that accepts PyMutex (gh-135899)
This makes the following APIs public:

* `Py_BEGIN_CRITICAL_SECTION_MUTEX(mutex),`
* `Py_BEGIN_CRITICAL_SECTION2_MUTEX(mutex1, mutex2)`
* `void PyCriticalSection_BeginMutex(PyCriticalSection *c, PyMutex *mutex)`
* `void PyCriticalSection2_BeginMutex(PyCriticalSection2 *c, PyMutex *mutex1, PyMutex *mutex2)`

The macros are identical to the corresponding `Py_BEGIN_CRITICAL_SECTION` and
`Py_BEGIN_CRITICAL_SECTION2` macros (e.g., they include braces), but they
accept a `PyMutex` instead of an object.

The new macros are still paired with the existing END macros
(`Py_END_CRITICAL_SECTION`, `Py_END_CRITICAL_SECTION2`).
2025-07-21 17:25:43 -04:00
..
2023-10-18-14-36-35.gh-issue-108512.fMZLfr.rst gh-108512: Add and use new replacements for PySys_GetObject() (GH-111035) 2025-05-28 20:11:09 +03:00
2025-04-14-07-41-28.gh-issue-131185.ZCjMHD.rst gh-131185: Use a proper thread-local for cached thread states (gh-132510) 2025-05-21 07:01:25 -06:00
2025-04-17-12-37-27.gh-issue-132629.01ArwX.rst gh-132629: Deprecate accepting out-of-range values for unsigned integers in PyArg_Parse (GH-132630) 2025-07-13 12:44:54 +03:00
2025-05-07-21-18-00.gh-issue-133610.asdfjs.rst gh-133610: Remove PyUnicode_AsDecoded/Encoded functions (#133612) 2025-05-09 17:31:24 +02:00
2025-05-08-12-25-47.gh-issue-133644.Yb86Rm.rst gh-133644: remove deprecated PyImport_ImportModuleNoBlock (#133655) 2025-05-08 13:08:43 +00:00
2025-05-08-13-14-45.gh-issue-133644.J8_KZ2.rst gh-133644: Remove deprecated Python initialization getter functions (#133661) 2025-05-09 11:39:23 +00:00
2025-05-13-16-06-46.gh-issue-133968.6alWst.rst gh-133968: Add PyUnicodeWriter_WriteASCII() function (#133973) 2025-05-29 14:54:30 +00:00
2025-05-17-14-41-21.gh-issue-134144.xVpZik.rst gh-134144: Fix use-after-free in zapthreads() (#134145) 2025-05-18 20:32:29 +05:30
2025-05-20-17-13-51.gh-issue-134009.CpCmry.rst gh-134009: Expose PyMutex_IsLocked in the public C API (gh-134365) 2025-07-01 13:26:13 -04:00
2025-05-29-16-56-23.gh-issue-134891.7eKO8U.rst gh-134891: Add PyUnstable_Unicode_GET_CACHED_HASH (GH-134892) 2025-06-06 15:51:00 +02:00
2025-05-30-11-33-17.gh-issue-134745.GN-zk2.rst gh-134745: Change PyThread_allocate_lock() implementation to PyMutex (#134747) 2025-05-30 10:15:47 +00:00
2025-06-02-13-19-22.gh-issue-134989.sDDyBN.rst gh-134989: Implement PyObject_DelAttr() as a macro in the limited C API (GH-135021) 2025-06-04 15:07:52 +02:00
2025-06-05-11-06-07.gh-issue-134989.74p4ud.rst gh-134989: Fix Py_RETURN_NONE in the limited C API (GH-135165) 2025-06-05 14:43:47 +02:00
2025-06-19-12-47-18.gh-issue-133157.1WA85f.rst gh-133157: remove usage of _Py_NO_SANITIZE_UNDEFINED in pyexpat (#135346) 2025-07-01 10:54:08 +02:00
2025-06-24-11-10-01.gh-issue-133296.lIEuVJ.rst gh-133296: Publicly expose critical section API that accepts PyMutex (gh-135899) 2025-07-21 17:25:43 -04:00
2025-06-25-01-03-10.gh-issue-135906.UBrCWq.rst gh-135906: Use _PyObject_CAST in internal headers (GH-135892) 2025-07-07 12:56:14 -04:00
2025-07-01-16-22-39.gh-issue-135075.angu3J.rst gh-135075: Make PyObject_SetAttr() fail with NULL value and exception (#136180) 2025-07-03 14:51:44 +02:00
README.rst Move NEWS entries out of directories with spaces (GH-127067) 2024-11-20 18:52:46 +00:00

Put news entry `blurb`_ files for the *C API* section in this directory.

.. _blurb: https://pypi.org/project/blurb/