Skip to content

gh-154757: Remove deprecated PyEval_InitThreads() function - #158037

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:remove_init_threads
Sep 24, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:remove_init_threads

Conversation

@vstinner

@vstinner vstinner commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34727428 | 📁 Comparing a885673 against main (6893326)

  🔍 Preview build  

5 files changed · ± 5 modified

± Modified

@vstinner

Copy link
Copy Markdown
Member Author

I already removed this function once in 2023, in Python 3.13 alpha1! PR gh-105183 of issue gh-105182 (commit ec0082c). I restored this function in Python 3.13 beta1 because it affected 16 projects in Fedora: PR gh-117931 (commit 75eed5b). In the meanwhile, some projects have been updated to no longer call PyEval_InitThreads() on Python 3.7 and newer.

@vstinner
vstinner merged commit 8293654 into python:main Sep 24, 2026
59 checks passed
@vstinner
vstinner deleted the remove_init_threads branch September 24, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant