]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41165: Deprecate PyEval_ReleaseLock() (GH-21309)
authorInada Naoki <songofacandy@gmail.com>
Mon, 6 Jul 2020 02:48:30 +0000 (11:48 +0900)
committerGitHub <noreply@github.com>
Mon, 6 Jul 2020 02:48:30 +0000 (11:48 +0900)
Include/ceval.h

index df5253900eea71af789d7d40354e0df3d6c1933d..0f372e2044a1c8ab4ba600331107b4f2dfcd2d14 100644 (file)
@@ -128,8 +128,12 @@ PyAPI_FUNC(void) PyEval_RestoreThread(PyThreadState *);
 
 Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);
 Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
+/* PyEval_AcquireLock() and PyEval_ReleaseLock() are part of stable ABI.
+ * They will be removed from this header file in the future version.
+ * But they will be remained in ABI until Python 4.0.
+ */
 Py_DEPRECATED(3.2) PyAPI_FUNC(void) PyEval_AcquireLock(void);
-/* Py_DEPRECATED(3.2) */ PyAPI_FUNC(void) PyEval_ReleaseLock(void);
+Py_DEPRECATED(3.2) PyAPI_FUNC(void) PyEval_ReleaseLock(void);
 PyAPI_FUNC(void) PyEval_AcquireThread(PyThreadState *tstate);
 PyAPI_FUNC(void) PyEval_ReleaseThread(PyThreadState *tstate);