[New-bugs-announce] [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>

More information about the New-bugs-announce mailing list