René's URL Explorer Experiment


Title: bpo-26558: Fix Py_FatalError() with GIL released by vstinner · Pull Request #10267 · python/cpython · GitHub

Open Graph Title: bpo-26558: Fix Py_FatalError() with GIL released by vstinner · Pull Request #10267 · python/cpython

X Title: bpo-26558: Fix Py_FatalError() with GIL released by vstinner · Pull Request #10267 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Replace PyThreadState_GET() with PyGILState_GetThisThreadState() in _Py_FatalError_PrintExc(). PyThreadState_GET() must not be called with the GIL released: it reports the wrong Python thread state...

X Description: Replace PyThreadState_GET() with PyGILState_GetThisThreadState() in _Py_FatalError_PrintExc(). PyThreadState_GET() must not be called with the GIL released: it reports the wrong Python thread state...

Opengraph URL: https://github.com/python/cpython/pull/10267

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:06cb328e-ebe6-be7e-0b5c-2f7f700d96bb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCEA0:2BF803:FA2C08:16A2629:6A54B3AD
html-safe-nonce4ddee940fd7f740b37576654469cdf51ce60c368566eae06ed8d9926172e926a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUEwOjJCRjgwMzpGQTJDMDg6MTZBMjYyOTo2QTU0QjNBRCIsInZpc2l0b3JfaWQiOiI1NDM2MDkxNzYzMDU0ODA2MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1f928503ce5fe01a209b63c552c131fcde324a92f823aaa95b20151fe18bc41e
hovercard-subject-tagpull_request:227450577
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/10267/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/da007da7cf9b4228d092f147beb8c93872739b3b98157fc59aa0c9f064ac9afd/python/cpython/pull/10267
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/da007da7cf9b4228d092f147beb8c93872739b3b98157fc59aa0c9f064ac9afd/python/cpython/pull/10267
og:image:altReplace PyThreadState_GET() with PyGILState_GetThisThreadState() in _Py_FatalError_PrintExc(). PyThreadState_GET() must not be called with the GIL released: it reports the wrong Python thread state...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5d343e1152573ef294b28f54e4a14fb5fdb3a5a1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/10267#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F10267
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F10267
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/10267
Reloadhttps://github.com/python/cpython/pull/10267
Reloadhttps://github.com/python/cpython/pull/10267
Please reload this pagehttps://github.com/python/cpython/pull/10267
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/10267
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
vstinnerhttps://github.com/vstinner
python:masterhttps://github.com/python/cpython/tree/master
Conversationhttps://github.com/python/cpython/pull/10267
Commits2 (2)https://github.com/python/cpython/pull/10267/commits
Checkshttps://github.com/python/cpython/pull/10267/checks
Files changedhttps://github.com/python/cpython/pull/10267/files
bpo-26558: Fix Py_FatalError() with GIL releasedhttps://github.com/python/cpython/pull/10267#top
vstinnerhttps://github.com/vstinner
python:masterhttps://github.com/python/cpython/tree/master
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 31, 2018https://github.com/python/cpython/pull/10267#issue-376171043
Please reload this pagehttps://github.com/python/cpython/pull/10267
https://bugs.python.org/issue26558https://bugs.python.org/issue26558
Please reload this pagehttps://github.com/python/cpython/pull/10267
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Oct 31, 2018https://github.com/python/cpython/pull/10267#event-1939146911
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Oct 31, 2018https://github.com/python/cpython/pull/10267#event-1939146928
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
Oct 31, 2018https://github.com/python/cpython/pull/10267#event-1939147065
vstinnerhttps://github.com/vstinner
October 31, 2018 23:24https://github.com/python/cpython/pull/10267#commits-pushed-e6dac79
https://github.com/vstinner
bpo-26558https://bugs.python.org/issue?@action=redirect&bpo=26558
: Fix Py_FatalError() with GIL releasedhttps://github.com/python/cpython/pull/10267/commits/e6dac79ea620027a179e96c399205570eacd38ed
e6dac79https://github.com/python/cpython/pull/10267/commits/e6dac79ea620027a179e96c399205570eacd38ed
https://github.com/vstinner
Adjust commentshttps://github.com/python/cpython/pull/10267/commits/1c0382f501fdbbd2c76fa43e36ba7a9a93fe8dde
1c0382fhttps://github.com/python/cpython/pull/10267/commits/1c0382f501fdbbd2c76fa43e36ba7a9a93fe8dde
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
3a228abhttps://github.com/python/cpython/commit/3a228ab17c2a9cffd1a2f15f30d6209768de20a6
Oct 31, 2018https://github.com/python/cpython/pull/10267#event-1939304422
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Oct 31, 2018https://github.com/python/cpython/pull/10267#issuecomment-434881587
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/10267
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Oct 31, 2018https://github.com/python/cpython/pull/10267#event-1939304460
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
October 31, 2018 23:26https://github.com/python/cpython/pull/10267#event-1939304603
miss-islingtonhttps://github.com/miss-islington
Oct 31, 2018 https://github.com/python/cpython/pull/10267#ref-commit-e3a3745
https://github.com/vstinner
https://github.com/miss-islington
bpo-26558: Fix Py_FatalError() with GIL released (https://github.com/miss-islington/cpython/commit/e3a3745840c5e55b20f41033dce770f43783184b
pythonGH-10267https://github.com/python/cpython/pull/10267
)https://github.com/miss-islington/cpython/commit/e3a3745840c5e55b20f41033dce770f43783184b
e3a3745https://github.com/miss-islington/cpython/commit/e3a3745840c5e55b20f41033dce770f43783184b
3a228abhttps://github.com/miss-islington/cpython/commit/3a228ab17c2a9cffd1a2f15f30d6209768de20a6
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
Oct 31, 2018https://github.com/python/cpython/pull/10267#event-1939304816
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Oct 31, 2018https://github.com/python/cpython/pull/10267#issuecomment-434881647
GH-10269https://github.com/python/cpython/pull/10269
3.7 branchhttps://github.com/python/cpython/tree/3.7
Please reload this pagehttps://github.com/python/cpython/pull/10267
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Oct 31, 2018https://github.com/python/cpython/pull/10267#issuecomment-434881658
@vstinnerhttps://github.com/vstinner
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/10267
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
vstinnerhttps://github.com/vstinner
Oct 31, 2018https://github.com/python/cpython/pull/10267#event-1939304905
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
Oct 31, 2018https://github.com/python/cpython/pull/10267#event-1939312611
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Oct 31, 2018https://github.com/python/cpython/pull/10267#issuecomment-434882894
GH-10270https://github.com/python/cpython/pull/10270
3.6 branchhttps://github.com/python/cpython/tree/3.6
Please reload this pagehttps://github.com/python/cpython/pull/10267
miss-islingtonhttps://github.com/miss-islington
Oct 31, 2018 https://github.com/python/cpython/pull/10267#ref-commit-192c547
https://github.com/miss-islington
https://github.com/vstinner
bpo-26558https://bugs.python.org/issue?@action=redirect&bpo=26558
: Fix Py_FatalError() with GIL released (https://github.com/python/cpython/commit/192c54713b4c67a8d14b2d98056771feba40ca37
GH-10267https://github.com/python/cpython/pull/10267
)https://github.com/python/cpython/commit/192c54713b4c67a8d14b2d98056771feba40ca37
192c547https://github.com/python/cpython/commit/192c54713b4c67a8d14b2d98056771feba40ca37
3a228abhttps://github.com/python/cpython/commit/3a228ab17c2a9cffd1a2f15f30d6209768de20a6
vstinnerhttps://github.com/vstinner
Nov 1, 2018 https://github.com/python/cpython/pull/10267#ref-commit-ff56597
https://github.com/vstinner
bpo-26558https://bugs.python.org/issue?@action=redirect&bpo=26558
: Fix Py_FatalError() with GIL released (https://github.com/python/cpython/commit/ff56597151206a03ce421712516323430b7749c8
GH-10267https://github.com/python/cpython/pull/10267
) (https://github.com/python/cpython/commit/ff56597151206a03ce421712516323430b7749c8
GH-10270https://github.com/python/cpython/pull/10270
)https://github.com/python/cpython/commit/ff56597151206a03ce421712516323430b7749c8
ff56597https://github.com/python/cpython/commit/ff56597151206a03ce421712516323430b7749c8
3a228abhttps://github.com/python/cpython/commit/3a228ab17c2a9cffd1a2f15f30d6209768de20a6
rwgkhttps://github.com/rwgk
Mar 26, 2021 https://github.com/python/cpython/pull/10267#ref-commit-b87276c
https://github.com/rwgk
Enabling PyGILState_Check() for Python >= 3.6 only.https://github.com/rwgk/pybind11/commit/b87276c3a4ab422b410db3469cc655efd831b45f
b87276chttps://github.com/rwgk/pybind11/commit/b87276c3a4ab422b410db3469cc655efd831b45f
python/cpython#10267 (comment)https://github.com/python/cpython/pull/10267#issuecomment-434881587
rwgkhttps://github.com/rwgk
Apr 2, 2021 https://github.com/python/cpython/pull/10267#ref-commit-75cc8bd
https://github.com/rwgk
Enabling PyGILState_Check() for Python >= 3.6 only.https://github.com/rwgk/pybind11/commit/75cc8bd68d089ff5c6fe0ab7642cf0971a13e0f6
75cc8bdhttps://github.com/rwgk/pybind11/commit/75cc8bd68d089ff5c6fe0ab7642cf0971a13e0f6
python/cpython#10267 (comment)https://github.com/python/cpython/pull/10267#issuecomment-434881587
rwgkhttps://github.com/rwgk
Apr 3, 2021 https://github.com/python/cpython/pull/10267#ref-commit-ad6bf5c
https://github.com/rwgk
Adding PyGILState_Check() in object_api<>::operator(). (https://github.com/pybind/pybind11/commit/ad6bf5cd39ca64b4a9bf846b84b11c4c8df1c8e1
#2919https://github.com/pybind/pybind11/pull/2919
)https://github.com/pybind/pybind11/commit/ad6bf5cd39ca64b4a9bf846b84b11c4c8df1c8e1
ad6bf5chttps://github.com/pybind/pybind11/commit/ad6bf5cd39ca64b4a9bf846b84b11c4c8df1c8e1
python/cpython#10267 (comment)https://github.com/python/cpython/pull/10267#issuecomment-434881587
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F10267
https://github.com/vstinner
vstinner https://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/10267
https://github.com/vstinner
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/the-knights-who-say-ni
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.