Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-112826: Add a "What's New" Entry About _thread._is_main_interpreter#112853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrentlyericsnowcurrently commentedDec 7, 2023
edited by github-actionsbot
Loading

As ofgh-112661, thethreading module expects the_thread module to have a_is_main_interpreter(), which is used in the internalthreading._shutdown(). This change causes a problem for anyone that replaces the_thread module with a custom one (only if they don't provide_is_main_interpreter()). They need to be sure to add it for 3.13+, thus this PR is adding a note in "What's New".

This also forward-ports the "What's New" entry from 3.12 (gh-112850). Note that we do not also forward-port the fix in that PR. The fix is there only due to a regression from 3.12.0. There is no regression in 3.13+.


📚 Documentation preview 📚:https://cpython-previews--112853.org.readthedocs.build/

@ericsnowcurrentlyericsnowcurrentlyforce-pushed thefix-112826-missing-_thread-_is_main_interpreter branch fromc6d55ef to13c8566CompareDecember 7, 2023 18:53
@ericsnowcurrentlyericsnowcurrently merged commit64d8b4c intopython:mainDec 7, 2023
@ericsnowcurrentlyericsnowcurrently deleted the fix-112826-missing-_thread-_is_main_interpreter branchDecember 7, 2023 20:22
aisk pushed a commit to aisk/cpython that referenced this pull requestFeb 11, 2024
…rpreter (pythongh-112853)As ofpythongh-112661, the threading module expects the _thread module to have a _is_main_interpreter(), which is used in the internal threading._shutdown().  This change causes a problem for anyone that replaces the _thread module with a custom one (only if they don't provide _is_main_interpreter()).  They need to be sure to add it for 3.13+, thus this PR is adding a note in "What's New".This also forward-ports the "What's New" entry from 3.12 (pythongh-112850).  Note that we do not also forward-port the fix in that PR.  The fix is there only due to a regression from 3.12.0. There is no regression in 3.13+.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
…rpreter (pythongh-112853)As ofpythongh-112661, the threading module expects the _thread module to have a _is_main_interpreter(), which is used in the internal threading._shutdown().  This change causes a problem for anyone that replaces the _thread module with a custom one (only if they don't provide _is_main_interpreter()).  They need to be sure to add it for 3.13+, thus this PR is adding a note in "What's New".This also forward-ports the "What's New" entry from 3.12 (pythongh-112850).  Note that we do not also forward-port the fix in that PR.  The fix is there only due to a regression from 3.12.0. There is no regression in 3.13+.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@ericsnowcurrently

[8]ページ先頭

©2009-2025 Movatter.jp