mirror of
https://github.com/python/cpython.git
synced 2026-04-13 23:31:02 +00:00
Mention deprecation of PyEval_{Acquire,Release}Lock().
This commit is contained in:
parent
2e8ec22242
commit
ebeb90339d
1 changed files with 5 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue