diff options
Diffstat (limited to 'Misc/NEWS.d/next/C API')
17 files changed, 0 insertions, 48 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-11-22-14-06-28.bpo-38500.nPEdjH.rst b/Misc/NEWS.d/next/C API/2019-11-22-14-06-28.bpo-38500.nPEdjH.rst deleted file mode 100644 index f1ccfacd2c8..00000000000 --- a/Misc/NEWS.d/next/C API/2019-11-22-14-06-28.bpo-38500.nPEdjH.rst +++ /dev/null @@ -1,5 +0,0 @@ -Add a private API to get and set the frame evaluation function: add -:c:func:`_PyInterpreterState_GetEvalFrameFunc` and -:c:func:`_PyInterpreterState_SetEvalFrameFunc` C functions. -The :c:type:`_PyFrameEvalFunction` function type now takes a *tstate* -parameter. diff --git a/Misc/NEWS.d/next/C API/2020-02-25-20-10-34.bpo-38913.siF1lS.rst b/Misc/NEWS.d/next/C API/2020-02-25-20-10-34.bpo-38913.siF1lS.rst deleted file mode 100644 index 0e4d1210315..00000000000 --- a/Misc/NEWS.d/next/C API/2020-02-25-20-10-34.bpo-38913.siF1lS.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed segfault in ``Py_BuildValue()`` called with a format containing "#" -and undefined PY_SSIZE_T_CLEAN whwn an exception is set. diff --git a/Misc/NEWS.d/next/C API/2020-03-02-11-29-45.bpo-39824.71_ZMn.rst b/Misc/NEWS.d/next/C API/2020-03-02-11-29-45.bpo-39824.71_ZMn.rst deleted file mode 100644 index ae0a872c93e..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-02-11-29-45.bpo-39824.71_ZMn.rst +++ /dev/null @@ -1,10 +0,0 @@ -Extension modules: :c:member:`~PyModuleDef.m_traverse`, -:c:member:`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions -of :c:type:`PyModuleDef` are no longer called if the module state was requested -but is not allocated yet. This is the case immediately after the module is -created and before the module is executed (:c:data:`Py_mod_exec` function). More -precisely, these functions are not called if :c:member:`~PyModuleDef.m_size` is -greater than 0 and the module state (as returned by -:c:func:`PyModule_GetState`) is ``NULL``. - -Extension modules without module state (``m_size <= 0``) are not affected. diff --git a/Misc/NEWS.d/next/C API/2020-03-06-23-56-04.bpo-39882.Iqhcqm.rst b/Misc/NEWS.d/next/C API/2020-03-06-23-56-04.bpo-39882.Iqhcqm.rst deleted file mode 100644 index b5eae7af721..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-06-23-56-04.bpo-39882.Iqhcqm.rst +++ /dev/null @@ -1,3 +0,0 @@ -The :c:func:`Py_FatalError` function is replaced with a macro which logs -automatically the name of the current function, unless the ``Py_LIMITED_API`` -macro is defined. diff --git a/Misc/NEWS.d/next/C API/2020-03-08-22-56-22.bpo-38643.k2ixx6.rst b/Misc/NEWS.d/next/C API/2020-03-08-22-56-22.bpo-38643.k2ixx6.rst deleted file mode 100644 index 1e6472fd557..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-08-22-56-22.bpo-38643.k2ixx6.rst +++ /dev/null @@ -1,2 +0,0 @@ -:c:func:`PyNumber_ToBase` now raises a :exc:`SystemError` instead of -crashing when called with invalid base. diff --git a/Misc/NEWS.d/next/C API/2020-03-09-20-27-19.bpo-38249.IxYbQy.rst b/Misc/NEWS.d/next/C API/2020-03-09-20-27-19.bpo-38249.IxYbQy.rst deleted file mode 100644 index e209c8bd7e6..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-09-20-27-19.bpo-38249.IxYbQy.rst +++ /dev/null @@ -1,2 +0,0 @@ -:c:macro:`Py_UNREACHABLE` is now implemented with -``__builtin_unreachable()`` and analogs in release mode. diff --git a/Misc/NEWS.d/next/C API/2020-03-10-00-18-16.bpo-39877.GOYtIm.rst b/Misc/NEWS.d/next/C API/2020-03-10-00-18-16.bpo-39877.GOYtIm.rst deleted file mode 100644 index e07118775a1..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-10-00-18-16.bpo-39877.GOYtIm.rst +++ /dev/null @@ -1,3 +0,0 @@ -Deprecated :c:func:`PyEval_InitThreads` and -:c:func:`PyEval_ThreadsInitialized`. Calling :c:func:`PyEval_InitThreads` now -does nothing. diff --git a/Misc/NEWS.d/next/C API/2020-03-12-00-27-26.bpo-39884.CGOJBO.rst b/Misc/NEWS.d/next/C API/2020-03-12-00-27-26.bpo-39884.CGOJBO.rst deleted file mode 100644 index c65dfdc2124..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-12-00-27-26.bpo-39884.CGOJBO.rst +++ /dev/null @@ -1,2 +0,0 @@ -:c:func:`PyDescr_NewMethod` and :c:func:`PyCFunction_NewEx` now include the -method name in the SystemError "bad call flags" error message to ease debug. diff --git a/Misc/NEWS.d/next/C API/2020-03-12-23-47-57.bpo-39947.-nCdFV.rst b/Misc/NEWS.d/next/C API/2020-03-12-23-47-57.bpo-39947.-nCdFV.rst deleted file mode 100644 index 559d3dc48de..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-12-23-47-57.bpo-39947.-nCdFV.rst +++ /dev/null @@ -1,3 +0,0 @@ -Py_TRASHCAN_BEGIN_CONDITION and Py_TRASHCAN_END macro no longer access -PyThreadState attributes, but call new private _PyTrash_begin() and -_PyTrash_end() functions which hide implementation details. diff --git a/Misc/NEWS.d/next/C API/2020-03-13-00-15-19.bpo-39947.w3dIru.rst b/Misc/NEWS.d/next/C API/2020-03-13-00-15-19.bpo-39947.w3dIru.rst deleted file mode 100644 index f10161c06d4..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-13-00-15-19.bpo-39947.w3dIru.rst +++ /dev/null @@ -1,4 +0,0 @@ -Move the static inline function flavor of Py_EnterRecursiveCall() and -Py_LeaveRecursiveCall() to the internal C API: they access PyThreadState -attributes. The limited C API provides regular functions which hide -implementation details. diff --git a/Misc/NEWS.d/next/C API/2020-03-13-16-44-23.bpo-35370.sXRA-r.rst b/Misc/NEWS.d/next/C API/2020-03-13-16-44-23.bpo-35370.sXRA-r.rst deleted file mode 100644 index d3f1d293b69..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-13-16-44-23.bpo-35370.sXRA-r.rst +++ /dev/null @@ -1,2 +0,0 @@ -If :c:func:`PySys_Audit` fails in :c:func:`PyEval_SetProfile` or -:c:func:`PyEval_SetTrace`, log the error as an unraisable exception. diff --git a/Misc/NEWS.d/next/C API/2020-03-13-17-43-00.bpo-39947.1Cu_d2.rst b/Misc/NEWS.d/next/C API/2020-03-13-17-43-00.bpo-39947.1Cu_d2.rst deleted file mode 100644 index c7184be7580..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-13-17-43-00.bpo-39947.1Cu_d2.rst +++ /dev/null @@ -1 +0,0 @@ -Add :c:func:`PyInterpreterState_Get` function to the limited C API. diff --git a/Misc/NEWS.d/next/C API/2020-03-13-18-10-58.bpo-39947.gmEAaU.rst b/Misc/NEWS.d/next/C API/2020-03-13-18-10-58.bpo-39947.gmEAaU.rst deleted file mode 100644 index 668cdbcc171..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-13-18-10-58.bpo-39947.gmEAaU.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add :c:func:`PyThreadState_GetInterpreter`: get the interpreter of a Python -thread state. diff --git a/Misc/NEWS.d/next/C API/2020-03-14-01-56-03.bpo-37207.R3jaTy.rst b/Misc/NEWS.d/next/C API/2020-03-14-01-56-03.bpo-37207.R3jaTy.rst deleted file mode 100644 index 216a8217f55..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-14-01-56-03.bpo-37207.R3jaTy.rst +++ /dev/null @@ -1 +0,0 @@ -Add _PyArg_NoKwnames helper function. Patch by Dong-hee Na. diff --git a/Misc/NEWS.d/next/C API/2020-03-20-14-55-09.bpo-39947.W7uCJ3.rst b/Misc/NEWS.d/next/C API/2020-03-20-14-55-09.bpo-39947.W7uCJ3.rst deleted file mode 100644 index 33988489a6d..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-20-14-55-09.bpo-39947.W7uCJ3.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add :c:func:`PyThreadState_GetFrame` function: get the current frame of a -Python thread state. diff --git a/Misc/NEWS.d/next/C API/2020-03-20-17-05-52.bpo-39946.3NS-Ls.rst b/Misc/NEWS.d/next/C API/2020-03-20-17-05-52.bpo-39946.3NS-Ls.rst deleted file mode 100644 index 4f0e4b7c68c..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-20-17-05-52.bpo-39946.3NS-Ls.rst +++ /dev/null @@ -1,3 +0,0 @@ -Remove ``_PyRuntime.getframe`` hook and remove ``_PyThreadState_GetFrame`` -macro which was an alias to ``_PyRuntime.getframe``. They were only exposed -by the internal C API. Remove also ``PyThreadFrameGetter`` type. diff --git a/Misc/NEWS.d/next/C API/2020-03-20-18-41-33.bpo-40024.9zHpve.rst b/Misc/NEWS.d/next/C API/2020-03-20-18-41-33.bpo-40024.9zHpve.rst deleted file mode 100644 index a0b33dd9f13..00000000000 --- a/Misc/NEWS.d/next/C API/2020-03-20-18-41-33.bpo-40024.9zHpve.rst +++ /dev/null @@ -1 +0,0 @@ -Add :c:func:`PyModule_AddType` helper function: add a type to a module. Patch by Dong-hee Na. |