diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-16 18:45:17 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-16 18:45:17 (GMT) |
commit | ebeb90339de196d97ee197afad5e4e4a7f672a50 (patch) | |
tree | 48f6dc8ceaa77437ab499cc7c4472439579bf9f8 | |
parent | 2e8ec222420e1df41f20f0c364d74718ba55d01e (diff) | |
download | cpython-ebeb90339de196d97ee197afad5e4e4a7f672a50.zip cpython-ebeb90339de196d97ee197afad5e4e4a7f672a50.tar.gz cpython-ebeb90339de196d97ee197afad5e4e4a7f672a50.tar.bz2 |
Mention deprecation of PyEval_{Acquire,Release}Lock().
-rw-r--r-- | Doc/whatsnew/3.2.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index d9823ca..9643dbf 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. |