René's URL Explorer Experiment


Title: bpo-42815: Fix issue when thread doesn't copy context of parent thread by uriyyo · Pull Request #24074 · python/cpython · GitHub

Open Graph Title: bpo-42815: Fix issue when thread doesn't copy context of parent thread by uriyyo · Pull Request #24074 · python/cpython

X Title: bpo-42815: Fix issue when thread doesn't copy context of parent thread by uriyyo · Pull Request #24074 · python/cpython

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

Open Graph Description: https://bugs.python.org/issue42815

X Description: https://bugs.python.org/issue42815

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

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:d204c00b-7716-6c60-a47c-ec80a4e12cc3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD9E0:2D857A:2EB13EC:3FE15C3:6A53DB12
html-safe-nonce393928e8e4c1c6ec491556fab7d9698cfbe6b42e17855bb0e601571d38521bd6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUUwOjJEODU3QToyRUIxM0VDOjNGRTE1QzM6NkE1M0RCMTIiLCJ2aXNpdG9yX2lkIjoiOTA4OTk2ODQzODg2OTQ4MjI1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9f5e34e2ff3ea2d7e6271d8fa082ce389052f0f2b0987ac27e3d191e6796f156
hovercard-subject-tagpull_request:547867553
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/24074/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5adc6b0bc8042123fe779613a66fb631a2bdd4f4861e63dad08ef39d47ceffbe/python/cpython/pull/24074
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5adc6b0bc8042123fe779613a66fb631a2bdd4f4861e63dad08ef39d47ceffbe/python/cpython/pull/24074
og:image:althttps://bugs.python.org/issue42815
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameuriyyo
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/24074#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F24074
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%2F24074
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/24074
Reloadhttps://github.com/python/cpython/pull/24074
Reloadhttps://github.com/python/cpython/pull/24074
Please reload this pagehttps://github.com/python/cpython/pull/24074
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/24074
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
uriyyohttps://github.com/uriyyo
python:mainhttps://github.com/python/cpython/tree/main
uriyyo:fix-issue-42815https://github.com/uriyyo/cpython/tree/fix-issue-42815
Conversationhttps://github.com/python/cpython/pull/24074
Commits6 (6)https://github.com/python/cpython/pull/24074/commits
Checkshttps://github.com/python/cpython/pull/24074/checks
Files changedhttps://github.com/python/cpython/pull/24074/files
bpo-42815: Fix issue when thread doesn't copy context of parent threadhttps://github.com/python/cpython/pull/24074#top
uriyyohttps://github.com/uriyyo
python:mainhttps://github.com/python/cpython/tree/main
uriyyo:fix-issue-42815https://github.com/uriyyo/cpython/tree/fix-issue-42815
https://github.com/uriyyo
uriyyohttps://github.com/uriyyo
Jan 3, 2021https://github.com/python/cpython/pull/24074#issue-777622106
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://bugs.python.org/issue42815https://bugs.python.org/issue42815
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/uriyyo
Fix issue when thread doesn't copy context of parent threadhttps://github.com/python/cpython/pull/24074/commits/24771bcd4888de8dd5674a6b38fe7713d97bf1ed
24771bchttps://github.com/python/cpython/pull/24074/commits/24771bcd4888de8dd5674a6b38fe7713d97bf1ed
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
Jan 3, 2021https://github.com/python/cpython/pull/24074#event-4162386697
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jan 3, 2021https://github.com/python/cpython/pull/24074#event-4162386721
https://github.com/uriyyo
Fix deciamal threading testshttps://github.com/python/cpython/pull/24074/commits/720a14465ea98c7e8f0b1b129ddac7f03f714753
720a144https://github.com/python/cpython/pull/24074/commits/720a14465ea98c7e8f0b1b129ddac7f03f714753
https://github.com/uriyyo
uriyyohttps://github.com/uriyyo
rhettingerhttps://github.com/rhettinger
code ownerhttps://github.com/python/cpython/blob/b8eb3765908c0063f0739595ba4b296cc8863d19/.github/CODEOWNERS#L121
January 3, 2021 14:28https://github.com/python/cpython/pull/24074#event-4162505505
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
January 10, 2021 20:02https://github.com/python/cpython/pull/24074#event-4188379362
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 10, 2021https://github.com/python/cpython/pull/24074#issuecomment-776337273
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Feb 10, 2021https://github.com/python/cpython/pull/24074#event-4312139230
https://github.com/uriyyo
Merge remote-tracking branch 'origin/master' into fix-issue-42815https://github.com/python/cpython/pull/24074/commits/f57de91da7a60666d071deb4cc548214043d10d1
f57de91https://github.com/python/cpython/pull/24074/commits/f57de91da7a60666d071deb4cc548214043d10d1
https://github.com/jcea
jceahttps://github.com/jcea
Jul 31, 2021https://github.com/python/cpython/pull/24074#issuecomment-890281550
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/jcea
jceahttps://github.com/jcea
Jul 31, 2021https://github.com/python/cpython/pull/24074#issuecomment-890284705
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/jcea
jceahttps://github.com/jcea
Jul 31, 2021 https://github.com/python/cpython/pull/24074#pullrequestreview-719541513
View reviewed changes https://github.com/python/cpython/pull/24074/files/f57de91da7a60666d071deb4cc548214043d10d1
jceahttps://github.com/jcea
https://github.com/python/cpython/pull/24074#pullrequestreview-719541513
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 31, 2021https://github.com/python/cpython/pull/24074#event-5093974075
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jul 31, 2021https://github.com/python/cpython/pull/24074#issuecomment-890285328
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Jul 31, 2021https://github.com/python/cpython/pull/24074#event-5093974077
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
1st1https://github.com/1st1
July 31, 2021 03:51https://github.com/python/cpython/pull/24074#event-5093978745
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 4, 2021 https://github.com/python/cpython/pull/24074#pullrequestreview-722375451
View reviewed changes https://github.com/python/cpython/pull/24074/files/f57de91da7a60666d071deb4cc548214043d10d1
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/24074#pullrequestreview-722375451
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@1st1https://github.com/1st1
Please reload this pagehttps://github.com/python/cpython/pull/24074
Lib/threading.pyhttps://github.com/python/cpython/pull/24074/files/f57de91da7a60666d071deb4cc548214043d10d1#diff-b250d3d0e0d909784a67083e9069ce507513a67e8514a011e2f364027e25e0b0
vstinnerhttps://github.com/vstinner
Aug 4, 2021https://github.com/python/cpython/pull/24074#discussion_r682684464
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/24074
uriyyohttps://github.com/uriyyo
Aug 10, 2021https://github.com/python/cpython/pull/24074#discussion_r685951977
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/24074
Lib/threading.pyhttps://github.com/python/cpython/pull/24074/files/f57de91da7a60666d071deb4cc548214043d10d1#diff-b250d3d0e0d909784a67083e9069ce507513a67e8514a011e2f364027e25e0b0
vstinnerhttps://github.com/vstinner
Aug 4, 2021https://github.com/python/cpython/pull/24074#discussion_r682685033
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/24074
uriyyohttps://github.com/uriyyo
Aug 10, 2021https://github.com/python/cpython/pull/24074#discussion_r685947386
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
PEP-567https://www.python.org/dev/peps/pep-0567/
Please reload this pagehttps://github.com/python/cpython/pull/24074
Misc/NEWS.d/next/Library/2021-01-03-13-44-44.bpo-42815.IJqHPr.rsthttps://github.com/python/cpython/pull/24074/files/f57de91da7a60666d071deb4cc548214043d10d1#diff-863b15533e9605d379d374156afea0928c67052af743cc25021b04c709469770
vstinnerhttps://github.com/vstinner
Aug 4, 2021https://github.com/python/cpython/pull/24074#discussion_r682686139
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://docs.python.org/dev/library/threading.html#threading.Threadhttps://docs.python.org/dev/library/threading.html#threading.Thread
Please reload this pagehttps://github.com/python/cpython/pull/24074
uriyyohttps://github.com/uriyyo
Aug 10, 2021https://github.com/python/cpython/pull/24074#discussion_r685948443
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/24074
vstinnerhttps://github.com/vstinner
Aug 11, 2021https://github.com/python/cpython/pull/24074#discussion_r686785580
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/uriyyo
uriyyohttps://github.com/uriyyo
Aug 10, 2021https://github.com/python/cpython/pull/24074#issuecomment-895969417
@jceahttps://github.com/jcea
cpython/Lib/asyncio/threads.pyhttps://github.com/python/cpython/blob/c7ea1e3dcea6fbc9842463ce2b785b43501b1eaa/Lib/asyncio/threads.py#L22-L25
c7ea1e3https://github.com/python/cpython/commit/c7ea1e3dcea6fbc9842463ce2b785b43501b1eaa
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/jcea
jceahttps://github.com/jcea
Aug 10, 2021https://github.com/python/cpython/pull/24074#issuecomment-896024103
@uriyyohttps://github.com/uriyyo
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 11, 2021 https://github.com/python/cpython/pull/24074#pullrequestreview-727197203
View reviewed changes https://github.com/python/cpython/pull/24074/files/f57de91da7a60666d071deb4cc548214043d10d1
Lib/threading.pyhttps://github.com/python/cpython/pull/24074/files/f57de91da7a60666d071deb4cc548214043d10d1#diff-b250d3d0e0d909784a67083e9069ce507513a67e8514a011e2f364027e25e0b0
Please reload this pagehttps://github.com/python/cpython/pull/24074
uriyyohttps://github.com/uriyyo
August 11, 2021 12:00https://github.com/python/cpython/pull/24074#commits-pushed-51c8a44
https://github.com/uriyyo
Merge remote-tracking branch 'origin/master' into fix-issue-42815https://github.com/python/cpython/pull/24074/commits/51c8a4481e91aacf8476aa8b05479cdd25ab2e16
51c8a44https://github.com/python/cpython/pull/24074/commits/51c8a4481e91aacf8476aa8b05479cdd25ab2e16
https://github.com/uriyyo
Delete context to avoid refcyclehttps://github.com/python/cpython/pull/24074/commits/ab9eff1ba8b7c8381e4f0eeaa335e8994a6394bf
ab9eff1https://github.com/python/cpython/pull/24074/commits/ab9eff1ba8b7c8381e4f0eeaa335e8994a6394bf
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 11, 2021https://github.com/python/cpython/pull/24074#issuecomment-896654619
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/uriyyo
Uncomment _contextvars at Modules/Setuphttps://github.com/python/cpython/pull/24074/commits/1fa09025117ef3b31b184efef153097fd56f3c94
1fa0902https://github.com/python/cpython/pull/24074/commits/1fa09025117ef3b31b184efef153097fd56f3c94
https://github.com/uriyyo
uriyyohttps://github.com/uriyyo
Apr 10, 2022 https://github.com/python/cpython/pull/24074#ref-issue-1199050302
new thread doesn't copy context of the parent thread #86981 https://github.com/python/cpython/issues/86981
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/24074#event-6988864908
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Aug 2, 2022https://github.com/python/cpython/pull/24074#event-7105680966
https://github.com/uriyyo
uriyyohttps://github.com/uriyyo
Dec 13, 2022https://github.com/python/cpython/pull/24074#issuecomment-1348679781
#86981 (comment)https://github.com/python/cpython/issues/86981#issuecomment-1338522372
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/uriyyo
uriyyohttps://github.com/uriyyo
Dec 13, 2022https://github.com/python/cpython/pull/24074#event-8026071264
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%2F24074
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/24074/files/1fa09025117ef3b31b184efef153097fd56f3c94
https://github.com/jcea
jcea https://github.com/jcea
https://github.com/python/cpython/pull/24074/files/f57de91da7a60666d071deb4cc548214043d10d1
https://github.com/1st1
1st1 https://github.com/1st1
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Please reload this pagehttps://github.com/python/cpython/pull/24074
https://github.com/uriyyo
https://github.com/jcea
https://github.com/bedevere-bot
https://github.com/vstinner
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
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.