René's URL Explorer Experiment


Title: bpo-31975 (PEP 565): Show DeprecationWarning in __main__ by ncoghlan · Pull Request #4458 · python/cpython · GitHub

Open Graph Title: bpo-31975 (PEP 565): Show DeprecationWarning in __main__ by ncoghlan · Pull Request #4458 · python/cpython

X Title: bpo-31975 (PEP 565): Show DeprecationWarning in __main__ by ncoghlan · Pull Request #4458 · python/cpython

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

Open Graph Description: primary change is to add a new default filter entry for default::DeprecationWarning:__main__ secondary change is an internal one to cope with plain strings in the warning module's internal filt...

X Description: primary change is to add a new default filter entry for default::DeprecationWarning:__main__ secondary change is an internal one to cope with plain strings in the warning module's internal ...

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

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:237a06c0-38ca-ad0f-ff23-549b3d2003dc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA79E:39D6FF:2BECCD0:3BE1472:6A53C869
html-safe-noncefeed8d289e792b89ad0060bc3bff5a5cf95d73e829d97038635eae933cdc7693
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzlFOjM5RDZGRjoyQkVDQ0QwOjNCRTE0NzI6NkE1M0M4NjkiLCJ2aXNpdG9yX2lkIjoiNzk4NTM0NTMyMzI2OTg2NzYyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfe92929a81a94a8a07fc887895722e358ad29aac24f6194fad19faf42696fd51
hovercard-subject-tagpull_request:153482616
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/4458/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1411a37537625b117e69d6299f8eb2ab5793ad1cc6879415071879d49ddbef4f/python/cpython/pull/4458
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1411a37537625b117e69d6299f8eb2ab5793ad1cc6879415071879d49ddbef4f/python/cpython/pull/4458
og:image:altprimary change is to add a new default filter entry for default::DeprecationWarning:__main__ secondary change is an internal one to cope with plain strings in the warning module's internal filt...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamencoghlan
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/4458#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4458
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%2F4458
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/4458
Reloadhttps://github.com/python/cpython/pull/4458
Reloadhttps://github.com/python/cpython/pull/4458
Please reload this pagehttps://github.com/python/cpython/pull/4458
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/4458
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
ncoghlanhttps://github.com/ncoghlan
python:masterhttps://github.com/python/cpython/tree/master
ncoghlan:issue-31975-main-DeprecationWarning-filterhttps://github.com/ncoghlan/cpython/tree/issue-31975-main-DeprecationWarning-filter
Conversationhttps://github.com/python/cpython/pull/4458
Commits8 (8)https://github.com/python/cpython/pull/4458/commits
Checkshttps://github.com/python/cpython/pull/4458/checks
Files changedhttps://github.com/python/cpython/pull/4458/files
bpo-31975 (PEP 565): Show DeprecationWarning in __main__https://github.com/python/cpython/pull/4458#top
ncoghlanhttps://github.com/ncoghlan
python:masterhttps://github.com/python/cpython/tree/master
ncoghlan:issue-31975-main-DeprecationWarning-filterhttps://github.com/ncoghlan/cpython/tree/issue-31975-main-DeprecationWarning-filter
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Nov 19, 2017https://github.com/python/cpython/pull/4458#issue-275134987
Please reload this pagehttps://github.com/python/cpython/pull/4458
https://bugs.python.org/issue31975https://bugs.python.org/issue31975
Please reload this pagehttps://github.com/python/cpython/pull/4458
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 19, 2017https://github.com/python/cpython/pull/4458#event-1348651638
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 19, 2017https://github.com/python/cpython/pull/4458#event-1348651640
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Nov 19, 2017 https://github.com/python/cpython/pull/4458#pullrequestreview-77634084
View reviewed changes https://github.com/python/cpython/pull/4458/files
Lib/test/test_warnings/__init__.pyhttps://github.com/python/cpython/pull/4458/files#diff-21be9e4809f5cd7dcd4665eb0054b4bf9d924c2c9ce0a010e85dba405e94d9e9
ncoghlanhttps://github.com/ncoghlan
Nov 19, 2017https://github.com/python/cpython/pull/4458#discussion_r151855474
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4458
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
brettcannonhttps://github.com/brettcannon
vstinnerhttps://github.com/vstinner
November 19, 2017 06:24https://github.com/python/cpython/pull/4458#event-1348656309
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Nov 19, 2017https://github.com/python/cpython/pull/4458#issuecomment-345495442
Please reload this pagehttps://github.com/python/cpython/pull/4458
@brettcannonhttps://github.com/brettcannon
https://github.com/python/cpython/blob/3.6/Lib/warnings.py#L506https://github.com/python/cpython/blob/3.6/Lib/warnings.py#L506
Please reload this pagehttps://github.com/python/cpython/pull/4458
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Nov 19, 2017https://github.com/python/cpython/pull/4458#issuecomment-345495930
https://github.com/python/cpython/blob/3.6/Lib/warnings.py#L344https://github.com/python/cpython/blob/3.6/Lib/warnings.py#L344
Please reload this pagehttps://github.com/python/cpython/pull/4458
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Nov 21, 2017https://github.com/python/cpython/pull/4458#issuecomment-346152996
Please reload this pagehttps://github.com/python/cpython/pull/4458
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
force-pushedhttps://github.com/python/cpython/compare/2e6f9178587ccd3de1b6eeb199f65c5b45827e09..661cc5c1921138d477066083567a7f8855f4be55
2e6f917https://github.com/python/cpython/commit/2e6f9178587ccd3de1b6eeb199f65c5b45827e09
661cc5chttps://github.com/python/cpython/commit/661cc5c1921138d477066083567a7f8855f4be55
Compare https://github.com/python/cpython/compare/2e6f9178587ccd3de1b6eeb199f65c5b45827e09..661cc5c1921138d477066083567a7f8855f4be55
December 6, 2017 08:37https://github.com/python/cpython/pull/4458#event-1374310442
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
force-pushedhttps://github.com/python/cpython/compare/661cc5c1921138d477066083567a7f8855f4be55..7210640cf09a29bd2fd069b78d57b38a6095cebc
661cc5chttps://github.com/python/cpython/commit/661cc5c1921138d477066083567a7f8855f4be55
7210640https://github.com/python/cpython/commit/7210640cf09a29bd2fd069b78d57b38a6095cebc
Compare https://github.com/python/cpython/compare/661cc5c1921138d477066083567a7f8855f4be55..7210640cf09a29bd2fd069b78d57b38a6095cebc
December 30, 2017 04:48https://github.com/python/cpython/pull/4458#event-1405005276
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Dec 30, 2017https://github.com/python/cpython/pull/4458#event-1405007687
ncoghlanhttps://github.com/ncoghlan
December 30, 2017 15:01https://github.com/python/cpython/pull/4458#commits-pushed-50abc69
https://github.com/ncoghlan
bpo-31975 (PEP 565): Show DeprecationWarning in __main__https://github.com/python/cpython/pull/4458/commits/50abc6960376fb88197eb99fb910a622741dc2af
50abc69https://github.com/python/cpython/pull/4458/commits/50abc6960376fb88197eb99fb910a622741dc2af
https://github.com/ncoghlan
Ensure subprocess gets a fresh warnings modulehttps://github.com/python/cpython/pull/4458/commits/39200c36b133a986e0eff1c23dff91bd684f4938
39200c3https://github.com/python/cpython/pull/4458/commits/39200c36b133a986e0eff1c23dff91bd684f4938
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
force-pushedhttps://github.com/python/cpython/compare/d1dbf6d2b8471f027b82bd38ac38a5c4368c0800..39200c36b133a986e0eff1c23dff91bd684f4938
d1dbf6dhttps://github.com/python/cpython/commit/d1dbf6d2b8471f027b82bd38ac38a5c4368c0800
39200c3https://github.com/python/cpython/commit/39200c36b133a986e0eff1c23dff91bd684f4938
Compare https://github.com/python/cpython/compare/d1dbf6d2b8471f027b82bd38ac38a5c4368c0800..39200c36b133a986e0eff1c23dff91bd684f4938
December 30, 2017 05:02https://github.com/python/cpython/pull/4458#event-1405007868
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Dec 30, 2017https://github.com/python/cpython/pull/4458#issuecomment-354527876
Please reload this pagehttps://github.com/python/cpython/pull/4458
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Dec 30, 2017https://github.com/python/cpython/pull/4458#issuecomment-354546576
Please reload this pagehttps://github.com/python/cpython/pull/4458
ncoghlanhttps://github.com/ncoghlan
January 5, 2018 20:51https://github.com/python/cpython/pull/4458#commits-pushed-c8ee9d6
https://github.com/ncoghlan
PEP 565: Documentation updateshttps://github.com/python/cpython/pull/4458/commits/c8ee9d65a8912bdcc6b329166bae5d2ed3e3696c
c8ee9d6https://github.com/python/cpython/pull/4458/commits/c8ee9d65a8912bdcc6b329166bae5d2ed3e3696c
https://github.com/ncoghlan
PEP 565: NEWS entryhttps://github.com/python/cpython/pull/4458/commits/83fba775329718c67cbe9176fe4de53e0ca57482
83fba77https://github.com/python/cpython/pull/4458/commits/83fba775329718c67cbe9176fe4de53e0ca57482
https://github.com/ncoghlan
Attempt to make new warnings test work on Windowshttps://github.com/python/cpython/pull/4458/commits/db24664fe32e06b74b29b0f7b7c76aa976203c3d
db24664https://github.com/python/cpython/pull/4458/commits/db24664fe32e06b74b29b0f7b7c76aa976203c3d
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
Jan 5, 2018https://github.com/python/cpython/pull/4458#issuecomment-355529851
@vstinnerhttps://github.com/vstinner
@brettcannonhttps://github.com/brettcannon
Please reload this pagehttps://github.com/python/cpython/pull/4458
ncoghlanhttps://github.com/ncoghlan
January 5, 2018 21:16https://github.com/python/cpython/pull/4458#commits-pushed-f9fbe89
https://github.com/ncoghlan
Clarify that this is a list of exampleshttps://github.com/python/cpython/pull/4458/commits/f9fbe893b9ee3f4e1e2de0ba34cba0fff30ddc11
f9fbe89https://github.com/python/cpython/pull/4458/commits/f9fbe893b9ee3f4e1e2de0ba34cba0fff30ddc11
https://github.com/ncoghlan
Update test_cmd_line for PEP 565https://github.com/python/cpython/pull/4458/commits/1d5ed3ec368eb690464512937cd015c1da23214c
1d5ed3ehttps://github.com/python/cpython/pull/4458/commits/1d5ed3ec368eb690464512937cd015c1da23214c
https://github.com/ncoghlan
Fix docs warnings for colon usehttps://github.com/python/cpython/pull/4458/commits/6bee0229ba3773c94401250945a0a06bb0193b9f
6bee022https://github.com/python/cpython/pull/4458/commits/6bee0229ba3773c94401250945a0a06bb0193b9f
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
9b99747https://github.com/python/cpython/commit/9b99747386b690007027c3be2a5d7cfe3d3634f5
Jan 8, 2018https://github.com/python/cpython/pull/4458#event-1412990797
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
Jan 8, 2018https://github.com/python/cpython/pull/4458#event-1412990813
https://github.com/ncoghlan
ncoghlanhttps://github.com/ncoghlan
March 30, 2018 07:52https://github.com/python/cpython/pull/4458#event-1549364854
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
May 25, 2022 https://github.com/python/cpython/pull/4458#ref-pullrequest-737234508
bpo-42272: fix misleading warning filter message/module docs #23172 https://github.com/python/cpython/pull/23172
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%2F4458
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
https://github.com/vstinner
vstinner https://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/4458
https://github.com/ncoghlan
https://github.com/brettcannon
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.