From ebeb90339de196d97ee197afad5e4e4a7f672a50 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 16 Jan 2011 18:45:17 +0000 Subject: [PATCH] Mention deprecation of PyEval_{Acquire,Release}Lock(). --- Doc/whatsnew/3.2.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index d9823ca681..9643dbf186 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -1916,3 +1916,8 @@ require changes to your code: occurs, rather than a generic :exc:`~ssl.SSLError`. (Contributed by Antoine Pitrou, :issue:`10272`.) + +* The misleading functions :c:func:`PyEval_AcquireLock()` and + :c:func:`PyEval_ReleaseLock()` have been officially deprecated. The + thread-state aware APIs (such as :c:func:`PyEval_SaveThread()` + and :c:func:`PyEval_RestoreThread()`) should be used instead. -- 2.40.0