René's URL Explorer Experiment


Title: bpo-27535: Fix memory leak with warnings ignore by vstinner · Pull Request #4489 · python/cpython · GitHub

Open Graph Title: bpo-27535: Fix memory leak with warnings ignore by vstinner · Pull Request #4489 · python/cpython

X Title: bpo-27535: Fix memory leak with warnings ignore by vstinner · Pull Request #4489 · python/cpython

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

Open Graph Description: The warnings module doesn't leak memory anymore in the hidden warnings registry for the "ignore" action of warnings filters. The warn_explicit() function doesn't add the warning k...

X Description: The warnings module doesn't leak memory anymore in the hidden warnings registry for the "ignore" action of warnings filters. The warn_explicit() function doesn't a...

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

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:8bbbc109-3cb2-3c2f-b260-8d0acaafce39
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB2D6:24B8:358F43:4BBAF8:6A4D1F01
html-safe-nonceb01eb227baeda5c64a6f93a32c26368e9394c4adbbdf991bfa5eda275367a18f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkQ2OjI0Qjg6MzU4RjQzOjRCQkFGODo2QTREMUYwMSIsInZpc2l0b3JfaWQiOiIzMzI3NDA0NDAxMTQ0NzAwNjczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7c987b05c8b985d73230d651914c83c9d8a048488c0cbee5e68ddc356a912cca
hovercard-subject-tagpull_request:153915972
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/4489/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fed5c3fd40f76d3ea24fbf61482b9177d32bd7e8e8ce484b53c1572d779942f4/python/cpython/pull/4489
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fed5c3fd40f76d3ea24fbf61482b9177d32bd7e8e8ce484b53c1572d779942f4/python/cpython/pull/4489
og:image:altThe warnings module doesn't leak memory anymore in the hidden warnings registry for the "ignore" action of warnings filters. The warn_explicit() function doesn't add the warning k...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
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
release93f17a978ee60bc4668e1d7b90e6bd2d622261fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/4489#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4489
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2F4489
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/4489
Reloadhttps://github.com/python/cpython/pull/4489
Reloadhttps://github.com/python/cpython/pull/4489
Please reload this pagehttps://github.com/python/cpython/pull/4489
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/4489
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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/4489
Commits1 (1)https://github.com/python/cpython/pull/4489/commits
Checkshttps://github.com/python/cpython/pull/4489/checks
Files changedhttps://github.com/python/cpython/pull/4489/files
bpo-27535: Fix memory leak with warnings ignorehttps://github.com/python/cpython/pull/4489#top
vstinnerhttps://github.com/vstinner
python:masterhttps://github.com/python/cpython/tree/master
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 21, 2017https://github.com/python/cpython/pull/4489#issue-275746134
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://bugs.python.org/issue27535https://bugs.python.org/issue27535
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
serhiy-storchakahttps://github.com/serhiy-storchaka
November 21, 2017 15:09https://github.com/python/cpython/pull/4489#event-1352181525
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
Nov 21, 2017https://github.com/python/cpython/pull/4489#event-1352181592
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
Nov 21, 2017https://github.com/python/cpython/pull/4489#event-1352181607
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 22, 2017 https://github.com/python/cpython/pull/4489#pullrequestreview-78537238
View reviewed changes https://github.com/python/cpython/pull/4489/files
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/4489#pullrequestreview-78537238
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4489
Python/_warnings.chttps://github.com/python/cpython/pull/4489/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 22, 2017https://github.com/python/cpython/pull/4489#discussion_r152642927
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4489
vstinnerhttps://github.com/vstinner
Nov 23, 2017https://github.com/python/cpython/pull/4489#discussion_r152707993
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4489
Python/_warnings.chttps://github.com/python/cpython/pull/4489/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 22, 2017https://github.com/python/cpython/pull/4489#discussion_r152643286
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4489
vstinnerhttps://github.com/vstinner
Nov 23, 2017https://github.com/python/cpython/pull/4489#discussion_r152707935
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4489
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 23, 2017https://github.com/python/cpython/pull/4489#discussion_r152727930
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4489
vstinnerhttps://github.com/vstinner
Nov 23, 2017https://github.com/python/cpython/pull/4489#discussion_r152754018
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4489
Lib/warnings.pyhttps://github.com/python/cpython/pull/4489/files#diff-1d0c2ffbcb01254c4ab02053d85527be50e03ea2908dc6cdba9fc185b8df9b7b
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 22, 2017https://github.com/python/cpython/pull/4489#discussion_r152644923
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4489
Lib/test/test_warnings/__init__.pyhttps://github.com/python/cpython/pull/4489/files#diff-21be9e4809f5cd7dcd4665eb0054b4bf9d924c2c9ce0a010e85dba405e94d9e9
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 22, 2017https://github.com/python/cpython/pull/4489#discussion_r152645515
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 23, 2017https://github.com/python/cpython/pull/4489#issuecomment-346509604
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/vstinner
bpo-27535https://bugs.python.org/issue?@action=redirect&bpo=27535
: Fix memory leak with warnings ignorehttps://github.com/python/cpython/pull/4489/commits/c6c46a3d10b4c62e5d485f3759d30e1c796faade
c6c46a3https://github.com/python/cpython/pull/4489/commits/c6c46a3d10b4c62e5d485f3759d30e1c796faade
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 23, 2017https://github.com/python/cpython/pull/4489#issuecomment-346570178
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 23, 2017 https://github.com/python/cpython/pull/4489#pullrequestreview-78670458
View reviewed changes https://github.com/python/cpython/pull/4489/files/c6c46a3d10b4c62e5d485f3759d30e1c796faade
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 23, 2017https://github.com/python/cpython/pull/4489#issuecomment-346662438
#4502https://github.com/python/cpython/pull/4502
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 23, 2017https://github.com/python/cpython/pull/4489#issuecomment-346669853
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 23, 2017https://github.com/python/cpython/pull/4489#issuecomment-346672781
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 23, 2017https://github.com/python/cpython/pull/4489#issuecomment-346673704
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 27, 2017https://github.com/python/cpython/pull/4489#issuecomment-347226436
https://bugs.python.org/issue27535#msg306919https://bugs.python.org/issue27535#msg306919
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
c975878https://github.com/python/cpython/commit/c9758784eb321fb9771e0bc7205b296e4d658045
Nov 27, 2017https://github.com/python/cpython/pull/4489#event-1359534730
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
Nov 27, 2017https://github.com/python/cpython/pull/4489#event-1359534865
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
November 27, 2017 15:57https://github.com/python/cpython/pull/4489#event-1359534913
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
Nov 27, 2017https://github.com/python/cpython/pull/4489#event-1359552563
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Nov 27, 2017https://github.com/python/cpython/pull/4489#issuecomment-347229503
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/4489
miss-islingtonhttps://github.com/miss-islington
Nov 27, 2017 https://github.com/python/cpython/pull/4489#ref-commit-23c01ce
https://github.com/vstinner
https://github.com/miss-islington
bpo-27535: Fix memory leak with warnings ignore (https://github.com/miss-islington/cpython/commit/23c01ce9bd67cd031a370905ad719d80eb5176a2
pythonGH-4489https://github.com/python/cpython/pull/4489
)https://github.com/miss-islington/cpython/commit/23c01ce9bd67cd031a370905ad719d80eb5176a2
23c01cehttps://github.com/miss-islington/cpython/commit/23c01ce9bd67cd031a370905ad719d80eb5176a2
c975878https://github.com/miss-islington/cpython/commit/c9758784eb321fb9771e0bc7205b296e4d658045
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 27, 2017https://github.com/python/cpython/pull/4489#issuecomment-347229567
GH-4587https://github.com/python/cpython/pull/4587
3.6 branchhttps://github.com/python/cpython/tree/3.6
Please reload this pagehttps://github.com/python/cpython/pull/4489
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
Nov 27, 2017https://github.com/python/cpython/pull/4489#event-1359553128
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 27, 2017https://github.com/python/cpython/pull/4489#issuecomment-347231224
#4588https://github.com/python/cpython/pull/4588
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/ghost
ghosthttps://github.com/ghost
Sep 12, 2022 https://github.com/python/cpython/pull/4489#ref-issue-1198955515
Ignored ResourceWarning warnings leak memory in warnings registries #71722 https://github.com/python/cpython/issues/71722
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 26, 2022 https://github.com/python/cpython/pull/4489#ref-issue-1385616777
Memory leak: warnings module #97557 https://github.com/python/cpython/issues/97557
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%2F4489
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/4489/files/c6c46a3d10b4c62e5d485f3759d30e1c796faade
Please reload this pagehttps://github.com/python/cpython/pull/4489
https://github.com/vstinner
https://github.com/serhiy-storchaka
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.