René's URL Explorer Experiment


Title: gh-128384: Use a context variable for warnings.catch_warnings by nascheme · Pull Request #130010 · python/cpython · GitHub

Open Graph Title: gh-128384: Use a context variable for warnings.catch_warnings by nascheme · Pull Request #130010 · python/cpython

X Title: gh-128384: Use a context variable for warnings.catch_warnings by nascheme · Pull Request #130010 · python/cpython

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

Open Graph Description: Make warnings.catch_warnings() use a context variable for holding the warning filtering state if the sys.flags.context_aware_warnings flag is set to true. This makes using the context manager thre...

X Description: Make warnings.catch_warnings() use a context variable for holding the warning filtering state if the sys.flags.context_aware_warnings flag is set to true. This makes using the context manager thre...

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

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:dacbb0bc-0155-f67f-15f0-7abff0a88d8b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8084:25BA60:4CA8CA:643A02:6A5300D8
html-safe-nonce2d639977613316b5a0bb10d15e4ecad59a6daa26130f482133ff318184fcfbcc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDg0OjI1QkE2MDo0Q0E4Q0E6NjQzQTAyOjZBNTMwMEQ4IiwidmlzaXRvcl9pZCI6IjIzMjkwNDUwMjU2MjU5MzE5OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac05bf4bfc8fd50999ab8149dafac0d1ff4ae029e74e987dfd9ae2d8ce3040df6c
hovercard-subject-tagpull_request:2329439975
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/130010/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/806fd3c114b36badfbbf28e97e898eea00fa7be79b0fc627af2cc393b49330b7/python/cpython/pull/130010
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/806fd3c114b36badfbbf28e97e898eea00fa7be79b0fc627af2cc393b49330b7/python/cpython/pull/130010
og:image:altMake warnings.catch_warnings() use a context variable for holding the warning filtering state if the sys.flags.context_aware_warnings flag is set to true. This makes using the context manager thre...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenascheme
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/130010#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F130010
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%2F130010
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/130010
Reloadhttps://github.com/python/cpython/pull/130010
Reloadhttps://github.com/python/cpython/pull/130010
Please reload this pagehttps://github.com/python/cpython/pull/130010
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/130010
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
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:gh-128384-warnings-contextvarhttps://github.com/nascheme/cpython/tree/gh-128384-warnings-contextvar
Conversationhttps://github.com/python/cpython/pull/130010
Commits47 (47)https://github.com/python/cpython/pull/130010/commits
Checkshttps://github.com/python/cpython/pull/130010/checks
Files changedhttps://github.com/python/cpython/pull/130010/files
gh-128384: Use a context variable for warnings.catch_warningshttps://github.com/python/cpython/pull/130010#top
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:gh-128384-warnings-contextvarhttps://github.com/nascheme/cpython/tree/gh-128384-warnings-contextvar
https://github.com/nascheme
naschemehttps://github.com/nascheme
Feb 11, 2025https://github.com/python/cpython/pull/130010#issue-2846170878
Please reload this pagehttps://github.com/python/cpython/pull/130010
gh-128209https://github.com/python/cpython/pull/128209
warnings.catch_warnings is not thread safe or async safe #128384https://github.com/python/cpython/issues/128384
pyperformance comparisonhttps://github.com/facebookexperimental/free-threading-benchmarking/blob/main/results/bm-20250219-3.14.0a5%2B-dba89e0-NOGIL/bm-20250219-vultr-x86_64-nascheme-gh_128384_warnings_c-3.14.0a5%2B-dba89e0-vs-base.svg
https://cpython-previews--130010.org.readthedocs.build/https://cpython-previews--130010.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/130010
naschemehttps://github.com/nascheme
February 6, 2025 12:53https://github.com/python/cpython/pull/130010#commits-pushed-ba99f2e
https://github.com/nascheme
Make _contextvars a builtin module.https://github.com/python/cpython/pull/130010/commits/ba99f2e455f29a5b3bd2f12f85e0b8985ec49bb2
ba99f2ehttps://github.com/python/cpython/pull/130010/commits/ba99f2e455f29a5b3bd2f12f85e0b8985ec49bb2
https://github.com/nascheme
Add 'context' parameter to Thread.https://github.com/python/cpython/pull/130010/commits/6d00c2aeec9a0e222d8df6383acde2f707f33bf6
6d00c2ahttps://github.com/python/cpython/pull/130010/commits/6d00c2aeec9a0e222d8df6383acde2f707f33bf6
https://github.com/nascheme
Tweak blurb markup.https://github.com/python/cpython/pull/130010/commits/a868fe97356f97f56468d43b3ca23b4b95636f62
a868fe9https://github.com/python/cpython/pull/130010/commits/a868fe97356f97f56468d43b3ca23b4b95636f62
https://github.com/nascheme
Doc markup fix.https://github.com/python/cpython/pull/130010/commits/16fa2c3891e143eca728a84b6942670ff810276d
16fa2c3https://github.com/python/cpython/pull/130010/commits/16fa2c3891e143eca728a84b6942670ff810276d
https://github.com/nascheme
Use contextvar for catch_warnings().https://github.com/python/cpython/pull/130010/commits/f0ccc8d21ae6c99ed4d706dcfbbfb4f1a0deca63
f0ccc8dhttps://github.com/python/cpython/pull/130010/commits/f0ccc8d21ae6c99ed4d706dcfbbfb4f1a0deca63
https://github.com/nascheme
Add blurb.https://github.com/python/cpython/pull/130010/commits/bcadd20b918e16f730d085b3e550e38ed2a49a6c
bcadd20https://github.com/python/cpython/pull/130010/commits/bcadd20b918e16f730d085b3e550e38ed2a49a6c
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 11, 2025 https://github.com/python/cpython/pull/130010#ref-issue-2764713401
warnings.catch_warnings is not thread safe or async safe #128384 https://github.com/python/cpython/issues/128384
https://github.com/nascheme
Add "_warnings_context" as identifier.https://github.com/python/cpython/pull/130010/commits/0cfe578fbf8912b131b0762e7e013ab8bb583869
0cfe578https://github.com/python/cpython/pull/130010/commits/0cfe578fbf8912b131b0762e7e013ab8bb583869
https://github.com/nascheme
naschemehttps://github.com/nascheme
Feb 11, 2025 https://github.com/python/cpython/pull/130010#ref-pullrequest-2761311880
gh-128384: Add thread-safe context manager to "warnings" module #128300 https://github.com/python/cpython/pull/128300
naschemehttps://github.com/nascheme
February 11, 2025 11:07https://github.com/python/cpython/pull/130010#commits-pushed-928c2df
https://github.com/nascheme
Fix test_support for context var filters.https://github.com/python/cpython/pull/130010/commits/928c2dfcca6dee85bbfc38ee8a3fa79028c676d5
928c2dfhttps://github.com/python/cpython/pull/130010/commits/928c2dfcca6dee85bbfc38ee8a3fa79028c676d5
https://github.com/nascheme
Regenerate 'configure' script.https://github.com/python/cpython/pull/130010/commits/65751d9f7c09bcf26b6d1c279f8f039abe4ecc34
65751d9https://github.com/python/cpython/pull/130010/commits/65751d9f7c09bcf26b6d1c279f8f039abe4ecc34
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 11, 2025 https://github.com/python/cpython/pull/130010#ref-pullrequest-2846459484
gh-129983: fix data race in compile_template in sre.c #130015 https://github.com/python/cpython/pull/130015
naschemehttps://github.com/nascheme
February 11, 2025 15:23https://github.com/python/cpython/pull/130010#commits-pushed-09e72b8
https://github.com/nascheme
Rename flag to thread_inherit_context.https://github.com/python/cpython/pull/130010/commits/09e72b8d76ec25b1b23477ff7b8beb4218ee26a4
09e72b8https://github.com/python/cpython/pull/130010/commits/09e72b8d76ec25b1b23477ff7b8beb4218ee26a4
https://github.com/nascheme
Merge branch 'main' into thread_inherit_contexthttps://github.com/python/cpython/pull/130010/commits/75f1b3863dceef3bd21e4a8ab6c515d77ed46057
75f1b38https://github.com/python/cpython/pull/130010/commits/75f1b3863dceef3bd21e4a8ab6c515d77ed46057
https://github.com/nascheme
Regenerate 'configure' script.https://github.com/python/cpython/pull/130010/commits/872920d525f3938bd22c623d4e0041f012688aba
872920dhttps://github.com/python/cpython/pull/130010/commits/872920d525f3938bd22c623d4e0041f012688aba
https://github.com/nascheme
Merge branch 'thread_inherit_context' intohttps://github.com/python/cpython/pull/130010/commits/5b6b59ed4aa847c15d24859b6233d10c02422644
pythongh-128384https://github.com/python/cpython/issues/128384
-warnings-c…https://github.com/python/cpython/pull/130010/commits/5b6b59ed4aa847c15d24859b6233d10c02422644
5b6b59ehttps://github.com/python/cpython/pull/130010/commits/5b6b59ed4aa847c15d24859b6233d10c02422644
https://github.com/nascheme
Use separate flag thread_safe_warnings.https://github.com/python/cpython/pull/130010/commits/9e955dc723d60d1f0d1017781fa098579f83d1bb
9e955dchttps://github.com/python/cpython/pull/130010/commits/9e955dc723d60d1f0d1017781fa098579f83d1bb
https://github.com/nascheme
Add doc for thread_safe_warnings flag.https://github.com/python/cpython/pull/130010/commits/3a56c64d90f8926d130362a2556a0a4a2e3c7345
3a56c64https://github.com/python/cpython/pull/130010/commits/3a56c64d90f8926d130362a2556a0a4a2e3c7345
https://github.com/nascheme
naschemehttps://github.com/nascheme
February 13, 2025 21:03https://github.com/python/cpython/pull/130010#event-16302698289
https://github.com/nascheme
naschemehttps://github.com/nascheme
1st1https://github.com/1st1
corona10https://github.com/corona10
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
erlend-aaslandhttps://github.com/erlend-aasland
code ownershttps://github.com/python/cpython/blob/05e89c34bd8389f87bd6c9462d5a06ef9e1a65ab/.github/CODEOWNERS#L216
February 13, 2025 21:03https://github.com/python/cpython/pull/130010#event-16302698418
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
Feb 13, 2025https://github.com/python/cpython/pull/130010#event-16302698839
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Feb 15, 2025 https://github.com/python/cpython/pull/130010#pullrequestreview-2619421401
View reviewed changes https://github.com/python/cpython/pull/130010/files/3a56c64d90f8926d130362a2556a0a4a2e3c7345
Python/_warnings.chttps://github.com/python/cpython/pull/130010/files/3a56c64d90f8926d130362a2556a0a4a2e3c7345#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58
Please reload this pagehttps://github.com/python/cpython/pull/130010
naschemehttps://github.com/nascheme
February 18, 2025 12:05https://github.com/python/cpython/pull/130010#commits-pushed-daa3d52
https://github.com/nascheme
Create _py_warnings.py for Python implementation.https://github.com/python/cpython/pull/130010/commits/daa3d52245b8ec527425219960933b8474c285f9
daa3d52https://github.com/python/cpython/pull/130010/commits/daa3d52245b8ec527425219960933b8474c285f9
https://github.com/nascheme
Add _warnings_context to _warnings module.https://github.com/python/cpython/pull/130010/commits/83419e462b9d9e009b17ac4fe3230cec8a779903
83419e4https://github.com/python/cpython/pull/130010/commits/83419e462b9d9e009b17ac4fe3230cec8a779903
https://github.com/nascheme
Remove '_warnings_context' global string.https://github.com/python/cpython/pull/130010/commits/15443e826e072d793b165bd6492ce9c28a361437
15443e8https://github.com/python/cpython/pull/130010/commits/15443e826e072d793b165bd6492ce9c28a361437
https://github.com/nascheme
Rename flag to 'context_aware_warnings'.https://github.com/python/cpython/pull/130010/commits/983e7ee7272244de3ff8d4e2415ee7e37dccd5a2
983e7eehttps://github.com/python/cpython/pull/130010/commits/983e7ee7272244de3ff8d4e2415ee7e37dccd5a2
naschemehttps://github.com/nascheme
March 17, 2025 10:25https://github.com/python/cpython/pull/130010#commits-pushed-47d0b6f
https://github.com/nascheme
Avoid unused-variable warning in _warnings.c.https://github.com/python/cpython/pull/130010/commits/47d0b6f3d3a0f40e610ac68b4274411fbb110184
47d0b6fhttps://github.com/python/cpython/pull/130010/commits/47d0b6f3d3a0f40e610ac68b4274411fbb110184
https://github.com/nascheme
Minor code improvement to _warnings.c.https://github.com/python/cpython/pull/130010/commits/b880dd1f5923c5480d214d1dea48ac4973909930
b880dd1https://github.com/python/cpython/pull/130010/commits/b880dd1f5923c5480d214d1dea48ac4973909930
https://github.com/nascheme
Merge 'origin/main' intohttps://github.com/python/cpython/pull/130010/commits/5a1115bb482a23150d96c00ff8fc532ee1045cbd
pythongh-128384https://github.com/python/cpython/issues/128384
-warnings-contextvarhttps://github.com/python/cpython/pull/130010/commits/5a1115bb482a23150d96c00ff8fc532ee1045cbd
5a1115bhttps://github.com/python/cpython/pull/130010/commits/5a1115bb482a23150d96c00ff8fc532ee1045cbd
https://github.com/nascheme
Merge branch 'origin/main' intohttps://github.com/python/cpython/pull/130010/commits/ae701e3ead9f08fd16f451bc8c121632cbf611f9
pythongh-128384https://github.com/python/cpython/issues/128384
-warnings-contextvarhttps://github.com/python/cpython/pull/130010/commits/ae701e3ead9f08fd16f451bc8c121632cbf611f9
ae701e3https://github.com/python/cpython/pull/130010/commits/ae701e3ead9f08fd16f451bc8c121632cbf611f9
https://github.com/nascheme
Merge 'origin/main' intohttps://github.com/python/cpython/pull/130010/commits/153c6b170fa8ca72a252deb1b94559962531d388
pythongh-128384https://github.com/python/cpython/issues/128384
-warnings-contextvarhttps://github.com/python/cpython/pull/130010/commits/153c6b170fa8ca72a252deb1b94559962531d388
153c6b1https://github.com/python/cpython/pull/130010/commits/153c6b170fa8ca72a252deb1b94559962531d388
https://github.com/nascheme
Add extra unit tests.https://github.com/python/cpython/pull/130010/commits/9220223ebfc51110a0cddd4a684c3cae9c28a647
9220223https://github.com/python/cpython/pull/130010/commits/9220223ebfc51110a0cddd4a684c3cae9c28a647
https://github.com/nascheme
Use asyncio events to get deterministic execution.https://github.com/python/cpython/pull/130010/commits/c2c90cb5014566120c5ad3a9266139bb6972aa59
c2c90cbhttps://github.com/python/cpython/pull/130010/commits/c2c90cb5014566120c5ad3a9266139bb6972aa59
https://github.com/nascheme
naschemehttps://github.com/nascheme
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Apr 1, 2025https://github.com/python/cpython/pull/130010#event-17080772686
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Apr 3, 2025 https://github.com/python/cpython/pull/130010#pullrequestreview-2739691508
View reviewed changes https://github.com/python/cpython/pull/130010/files/c2c90cb5014566120c5ad3a9266139bb6972aa59
Doc/howto/free-threading-python.rsthttps://github.com/python/cpython/pull/130010/files/c2c90cb5014566120c5ad3a9266139bb6972aa59#diff-99c15b7c040cc25ce8399287cd85d76007c4490165b59bfb590da14abc734ed0
Please reload this pagehttps://github.com/python/cpython/pull/130010
naschemehttps://github.com/nascheme
April 9, 2025 12:32https://github.com/python/cpython/pull/130010#commits-pushed-c1def22
https://github.com/nascheme
Merge 'origin/main' intohttps://github.com/python/cpython/pull/130010/commits/c1def22818a6770bc27139beb19a657752d48de6
pythongh-128384https://github.com/python/cpython/issues/128384
-warnings-contextvarhttps://github.com/python/cpython/pull/130010/commits/c1def22818a6770bc27139beb19a657752d48de6
c1def22https://github.com/python/cpython/pull/130010/commits/c1def22818a6770bc27139beb19a657752d48de6
https://github.com/nascheme
Add unit test for asyncio tasks.https://github.com/python/cpython/pull/130010/commits/4e461d9227200014bb0addbaca6c91a6e59da927
4e461d9https://github.com/python/cpython/pull/130010/commits/4e461d9227200014bb0addbaca6c91a6e59da927
https://github.com/nascheme
https://github.com/kumaraditya303
Update Doc/howto/free-threading-python.rsthttps://github.com/python/cpython/pull/130010/commits/543927b7b3cb80cb23b06e63f01f6fcc5c926752
543927bhttps://github.com/python/cpython/pull/130010/commits/543927b7b3cb80cb23b06e63f01f6fcc5c926752
https://github.com/nascheme
naschemehttps://github.com/nascheme
force-pushedhttps://github.com/python/cpython/compare/51da563ee1ffca9054d96ba4a48b559e23d13f9c..543927b7b3cb80cb23b06e63f01f6fcc5c926752
51da563https://github.com/python/cpython/commit/51da563ee1ffca9054d96ba4a48b559e23d13f9c
543927bhttps://github.com/python/cpython/commit/543927b7b3cb80cb23b06e63f01f6fcc5c926752
Compare https://github.com/python/cpython/compare/51da563ee1ffca9054d96ba4a48b559e23d13f9c..543927b7b3cb80cb23b06e63f01f6fcc5c926752
April 9, 2025 19:50https://github.com/python/cpython/pull/130010#event-17195282056
naschemehttps://github.com/nascheme
April 9, 2025 13:53https://github.com/python/cpython/pull/130010#commits-pushed-4f11910
https://github.com/nascheme
Use asyncio.gather() rather than create_task().https://github.com/python/cpython/pull/130010/commits/4f1191019a1a1ce6f7a2c77889e7d08373a69493
4f11910https://github.com/python/cpython/pull/130010/commits/4f1191019a1a1ce6f7a2c77889e7d08373a69493
https://github.com/nascheme
Call resetwarnings() in a few places.https://github.com/python/cpython/pull/130010/commits/42d157beabc196862b3819941d7ba05f6c73ce72
42d157bhttps://github.com/python/cpython/pull/130010/commits/42d157beabc196862b3819941d7ba05f6c73ce72
pythonGH-128770https://github.com/python/cpython/issues/128770
https://github.com/nascheme
naschemehttps://github.com/nascheme
d687900https://github.com/python/cpython/commit/d687900f98114bb5910daad9553ae381d7daf94b
Apr 9, 2025https://github.com/python/cpython/pull/130010#event-17197126929
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
Apr 9, 2025https://github.com/python/cpython/pull/130010#event-17197127147
gh-128555: Add 'context' keyword parameter to Thread. #128209 https://github.com/python/cpython/pull/128209
warnings.catch_warnings is async-unsafe #91505 https://github.com/python/cpython/issues/91505
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 16, 2025https://github.com/python/cpython/pull/130010#issuecomment-2809741033
@naschemehttps://github.com/nascheme
@kumaraditya303https://github.com/kumaraditya303
https://buildbot.python.org/#/release_statushttps://buildbot.python.org/#/release_status
AMD64 CentOS9 NoGIL Refleaks 3.xhttps://buildbot.python.org/#/builders/1610
ARM64 MacOS M1 Refleaks NoGIL 3.xhttps://buildbot.python.org/#/builders/1368
https://buildbot.python.org/#/builders/1368/builds/2970/steps/6/logs/stdiohttps://buildbot.python.org/#/builders/1368/builds/2970/steps/6/logs/stdio
Please reload this pagehttps://github.com/python/cpython/pull/130010
hugovkhttps://github.com/hugovk
Apr 16, 2025 https://github.com/python/cpython/pull/130010#ref-commit-32104a3
https://github.com/hugovk
Revert "https://github.com/hugovk/cpython/commit/32104a389618299b185236fb6798328e3ac6aba2
pythongh-128384https://github.com/python/cpython/issues/128384
: Use a context variable for warnings.catch_wa…https://github.com/hugovk/cpython/commit/32104a389618299b185236fb6798328e3ac6aba2
32104a3https://github.com/hugovk/cpython/commit/32104a389618299b185236fb6798328e3ac6aba2
pythongh-130010https://github.com/python/cpython/pull/130010
d687900https://github.com/hugovk/cpython/commit/d687900f98114bb5910daad9553ae381d7daf94b
https://github.com/nascheme
naschemehttps://github.com/nascheme
Apr 16, 2025https://github.com/python/cpython/pull/130010#issuecomment-2810039442
Please reload this pagehttps://github.com/python/cpython/pull/130010
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 16, 2025https://github.com/python/cpython/pull/130010#issuecomment-2810265633
#132601https://github.com/python/cpython/pull/132601
Please reload this pagehttps://github.com/python/cpython/pull/130010
https://github.com/nascheme
naschemehttps://github.com/nascheme
Apr 16, 2025https://github.com/python/cpython/pull/130010#issuecomment-2810523786
GH-132611https://github.com/python/cpython/pull/132611
Please reload this pagehttps://github.com/python/cpython/pull/130010
https://github.com/nascheme
naschemehttps://github.com/nascheme
Apr 28, 2025 https://github.com/python/cpython/pull/130010#ref-pullrequest-2768256313
gh-128384: Use contextvar for catch_warnings() #128463 https://github.com/python/cpython/pull/128463
https://github.com/lesteve
lestevehttps://github.com/lesteve
Sep 24, 2025https://github.com/python/cpython/pull/130010#issuecomment-3327517342
codehttps://github.com/scikit-learn/scikit-learn/blob/b4da3a8ad8a4743fdf139ca16fd3f7435b77471d/sklearn/utils/parallel.py#L73-L81
codehttps://github.com/scikit-learn/scikit-learn/blob/b4da3a8ad8a4743fdf139ca16fd3f7435b77471d/sklearn/utils/parallel.py#L155-L182
Please reload this pagehttps://github.com/python/cpython/pull/130010
https://github.com/braingram
braingramhttps://github.com/braingram
Sep 26, 2025 https://github.com/python/cpython/pull/130010#ref-issue-3457815882
logging.captureWarnings and warnings.catch_warnings do not play well together #139355 https://github.com/python/cpython/issues/139355
https://github.com/lesteve
lestevehttps://github.com/lesteve
Jan 27, 2026 https://github.com/python/cpython/pull/130010#ref-issue-3861213508
Race condition with warnings issued once directly and once inside pytest.warns Quansight-Labs/pytest-run-parallel#169 https://github.com/Quansight-Labs/pytest-run-parallel/issues/169
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Mar 22, 2026 https://github.com/python/cpython/pull/130010#ref-issue-3596171795
data races in decimal module with global context #141148 https://github.com/python/cpython/issues/141148
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 20, 2026 https://github.com/python/cpython/pull/130010#ref-pullrequest-4296293129
Add - and = keys to refine auto levels and change the way saving backups work AlanRockefeller/faststack#84 https://github.com/AlanRockefeller/faststack/pull/84
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%2F130010
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/130010/files/c2c90cb5014566120c5ad3a9266139bb6972aa59
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/gpshead
gpshead https://github.com/gpshead
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Please reload this pagehttps://github.com/python/cpython/pull/130010
https://github.com/nascheme
https://github.com/gpshead
https://github.com/kumaraditya303
https://github.com/hugovk
https://github.com/lesteve
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.