[issue44117] [C API] Remove deprecated PyEval_InitThreads()

STINNER Victor report at bugs.python.org
Wed May 12 11:23:48 EDT 2021


New submission from STINNER Victor <vstinner at python.org>:

Remove PyEval_InitThreads() and PyEval_ThreadsInitialized() functions. The GIL is created by Py_Initialize() since Python 3.7, and so calling PyEval_InitThreads() explicitly was useless since Python 3.7. Deprecated in 3.9, PyEval_InitThreads() did nothing and PyEval_ThreadsInitialized() already returned true.

----------
components: C API
messages: 393524
nosy: vstinner
priority: normal
severity: normal
status: open
title: [C API] Remove deprecated PyEval_InitThreads()
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44117>
_______________________________________


More information about the Python-bugs-list mailing list