René's URL Explorer Experiment


Title: gh-149816: fix a race when fetching OpenSSL digests by picnixz · Pull Request #153019 · python/cpython · GitHub

Open Graph Title: gh-149816: fix a race when fetching OpenSSL digests by picnixz · Pull Request #153019 · python/cpython

X Title: gh-149816: fix a race when fetching OpenSSL digests by picnixz · Pull Request #153019 · python/cpython

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

Open Graph Description: @devdanzin Your didn't include a reproducer for this issue so could you actually check whether this fix would be suitable. I'm not a FT expert but the problem was essentially a race ref lea...

X Description: @devdanzin Your didn't include a reproducer for this issue so could you actually check whether this fix would be suitable. I'm not a FT expert but the problem was essentially a race...

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

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:56555f31-c7fb-54f8-d905-e74961be838d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE0BE:1BF3F9:C988B:109C30:6A52BF2C
html-safe-nonce031d18bdb85a7b73a2f923f3ba1a0fe63aac697923a64d5b643654cd1ecadfcf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEJFOjFCRjNGOTpDOTg4QjoxMDlDMzA6NkE1MkJGMkMiLCJ2aXNpdG9yX2lkIjoiOTEzODEwODI3NDg2Mzk0NzU2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0e1de0ddb79ad98878166439b94ce914d4caffd5da3d67e60aa692c48ca18fe0
hovercard-subject-tagpull_request:3990385551
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/153019/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/21c56a3d9b2a80d45eb20258faa459d9c9d56eafd7df71cb3f6e424de16dc8d8/python/cpython/pull/153019
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/21c56a3d9b2a80d45eb20258faa459d9c9d56eafd7df71cb3f6e424de16dc8d8/python/cpython/pull/153019
og:image:alt@devdanzin Your didn't include a reproducer for this issue so could you actually check whether this fix would be suitable. I'm not a FT expert but the problem was essentially a race ref lea...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepicnixz
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/153019#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153019
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%2F153019
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/153019
Reloadhttps://github.com/python/cpython/pull/153019
Reloadhttps://github.com/python/cpython/pull/153019
Please reload this pagehttps://github.com/python/cpython/pull/153019
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/153019
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
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/free-threading/hashlib-evp-md-149816https://github.com/picnixz/cpython/tree/fix/free-threading/hashlib-evp-md-149816
Conversationhttps://github.com/python/cpython/pull/153019
Commits4 (4)https://github.com/python/cpython/pull/153019/commits
Checkshttps://github.com/python/cpython/pull/153019/checks
Files changedhttps://github.com/python/cpython/pull/153019/files
gh-149816: fix a race when fetching OpenSSL digestshttps://github.com/python/cpython/pull/153019#top
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/free-threading/hashlib-evp-md-149816https://github.com/picnixz/cpython/tree/fix/free-threading/hashlib-evp-md-149816
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jul 4, 2026https://github.com/python/cpython/pull/153019#issue-4808756875
Please reload this pagehttps://github.com/python/cpython/pull/153019
@devdanzinhttps://github.com/devdanzin
22 free-threading race conditions #149816https://github.com/python/cpython/issues/149816
Please reload this pagehttps://github.com/python/cpython/pull/153019
https://github.com/picnixz
picnixzhttps://github.com/picnixz
gpsheadhttps://github.com/gpshead
code ownerhttps://github.com/python/cpython/blob/cfe3e07f546d84b04ae2cab4dc464701d610dd02/.github/CODEOWNERS#L397
July 4, 2026 11:25https://github.com/python/cpython/pull/153019#event-27555132092
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 4, 2026 https://github.com/python/cpython/pull/153019#ref-issue-4442224953
22 free-threading race conditions #149816 https://github.com/python/cpython/issues/149816
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 4, 2026https://github.com/python/cpython/pull/153019#event-27555133494
https://github.com/picnixz
picnixzhttps://github.com/picnixz
force-pushedhttps://github.com/python/cpython/compare/4dcd5d4e12bfb2b583d5d55bfa267b4ef5475daf..5e4cdc8e2ed80dacc2efa43b3db81c760883428a
4dcd5d4https://github.com/python/cpython/commit/4dcd5d4e12bfb2b583d5d55bfa267b4ef5475daf
5e4cdc8https://github.com/python/cpython/commit/5e4cdc8e2ed80dacc2efa43b3db81c760883428a
Compare https://github.com/python/cpython/compare/4dcd5d4e12bfb2b583d5d55bfa267b4ef5475daf..5e4cdc8e2ed80dacc2efa43b3db81c760883428a
July 4, 2026 11:26https://github.com/python/cpython/pull/153019#event-27555146884
https://github.com/picnixz
pythongh-149816https://github.com/python/cpython/issues/149816
: fix a race when fetching OpenSSL digestshttps://github.com/python/cpython/pull/153019/commits/f58811fe037fcacb5a9f64a05d94656217340334
f58811fhttps://github.com/python/cpython/pull/153019/commits/f58811fe037fcacb5a9f64a05d94656217340334
https://github.com/picnixz
picnixzhttps://github.com/picnixz
force-pushedhttps://github.com/python/cpython/compare/5e4cdc8e2ed80dacc2efa43b3db81c760883428a..f58811fe037fcacb5a9f64a05d94656217340334
5e4cdc8https://github.com/python/cpython/commit/5e4cdc8e2ed80dacc2efa43b3db81c760883428a
f58811fhttps://github.com/python/cpython/commit/f58811fe037fcacb5a9f64a05d94656217340334
Compare https://github.com/python/cpython/compare/5e4cdc8e2ed80dacc2efa43b3db81c760883428a..f58811fe037fcacb5a9f64a05d94656217340334
July 4, 2026 11:27https://github.com/python/cpython/pull/153019#event-27555151379
https://github.com/picnixz
picnixzhttps://github.com/picnixz
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jul 4, 2026https://github.com/python/cpython/pull/153019#event-27555167281
https://github.com/devdanzin
devdanzinhttps://github.com/devdanzin
Jul 4, 2026https://github.com/python/cpython/pull/153019#issuecomment-4882167277
gh-149816https://github.com/python/cpython/issues/149816
gh-153019https://github.com/python/cpython/pull/153019
gh-153019https://github.com/python/cpython/pull/153019
Please reload this pagehttps://github.com/python/cpython/pull/153019
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jul 4, 2026https://github.com/python/cpython/pull/153019#issuecomment-4882250171
Please reload this pagehttps://github.com/python/cpython/pull/153019
https://github.com/picnixz
picnixzhttps://github.com/picnixz
ZeroIntensityhttps://github.com/ZeroIntensity
July 5, 2026 07:51https://github.com/python/cpython/pull/153019#event-27569981057
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jul 5, 2026https://github.com/python/cpython/pull/153019#issuecomment-4885306554
@devdanzinhttps://github.com/devdanzin
Please reload this pagehttps://github.com/python/cpython/pull/153019
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jul 5, 2026 https://github.com/python/cpython/pull/153019#pullrequestreview-4632153508
View reviewed changes https://github.com/python/cpython/pull/153019/files/f58811fe037fcacb5a9f64a05d94656217340334
Modules/_hashopenssl.chttps://github.com/python/cpython/pull/153019/files/f58811fe037fcacb5a9f64a05d94656217340334#diff-b4fd2e5e447a6f18fb2508c350524c5cb1feed8ec92d70822eac54431ef71baf
Please reload this pagehttps://github.com/python/cpython/pull/153019
Misc/NEWS.d/next/Library/2026-07-04-12-52-22.gh-issue-149816.XQOutB.rsthttps://github.com/python/cpython/pull/153019/files/f58811fe037fcacb5a9f64a05d94656217340334#diff-8c12306aca09404a26d4f518e5ba5df9fd13018fa0c8332e1f37b42cf8b8c5a8
Please reload this pagehttps://github.com/python/cpython/pull/153019
picnixzhttps://github.com/picnixz
July 6, 2026 10:01https://github.com/python/cpython/pull/153019#commits-pushed-dc70859
https://github.com/picnixz
unconditionally do a CAShttps://github.com/python/cpython/pull/153019/commits/dc7085966c31436ceec50fe2cdeee9eddb8442a2
dc70859https://github.com/python/cpython/pull/153019/commits/dc7085966c31436ceec50fe2cdeee9eddb8442a2
https://github.com/picnixz
amend NEWShttps://github.com/python/cpython/pull/153019/commits/8e95250deee6f79dfb986f6c5aa7202ac06cab13
8e95250https://github.com/python/cpython/pull/153019/commits/8e95250deee6f79dfb986f6c5aa7202ac06cab13
https://github.com/picnixz
amend NEWShttps://github.com/python/cpython/pull/153019/commits/ae22c227a051120e8e642c5757080be6b925ce9d
ae22c22https://github.com/python/cpython/pull/153019/commits/ae22c227a051120e8e642c5757080be6b925ce9d
https://github.com/picnixz
picnixzhttps://github.com/picnixz
gpsheadhttps://github.com/gpshead
July 6, 2026 08:06https://github.com/python/cpython/pull/153019#event-27595472176
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jul 7, 2026 https://github.com/python/cpython/pull/153019#pullrequestreview-4641799137
View reviewed changes https://github.com/python/cpython/pull/153019/files/ae22c227a051120e8e642c5757080be6b925ce9d
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 7, 2026https://github.com/python/cpython/pull/153019#event-27645342606
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jul 7, 2026 https://github.com/python/cpython/pull/153019#ref-issue-4820076235
test_hashlib fails when run on Free Threading with TSAN #153201 https://github.com/python/cpython/issues/153201
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%2F153019
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/153019/files/ae22c227a051120e8e642c5757080be6b925ce9d
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Please reload this pagehttps://github.com/python/cpython/pull/153019
https://github.com/picnixz
https://github.com/devdanzin
https://github.com/gpshead
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.