René's URL Explorer Experiment


Title: gh-92728: Restore re.template, but deprecate it by hroncok · Pull Request #93161 · python/cpython · GitHub

Open Graph Title: gh-92728: Restore re.template, but deprecate it by hroncok · Pull Request #93161 · python/cpython

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

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

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:04f5cba9-1aed-14bd-77b8-74423e52c505
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE568:1516B6:8D431:C89EE:696A5BC4
html-safe-nonce274ce8f01ea1e170b57ba2d97c05e09e00e2f6057912c15893b7dbdbfd57b6ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTY4OjE1MTZCNjo4RDQzMTpDODlFRTo2OTZBNUJDNCIsInZpc2l0b3JfaWQiOiI2MjA4NTg5Njc1ODUzNjY3MjY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1dbaca870a03376af3dcc8da1b7bf40124862c2015bf66ab7e70b4dafc61699d
hovercard-subject-tagpull_request:945346505
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/93161/files
og:imagehttps://avatars.githubusercontent.com/u/2401856?s=400&v=4
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/93161/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F93161%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2F93161%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/93161/files
Reloadhttps://github.com/python/cpython/pull/93161/files
Reloadhttps://github.com/python/cpython/pull/93161/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/93161/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/93161/files
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 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
hroncok:dont_break_compatibilityhttps://github.com/hroncok/cpython/tree/dont_break_compatibility
Conversation 10 https://github.com/python/cpython/pull/93161
Commits 9 https://github.com/python/cpython/pull/93161/commits
Checks 0 https://github.com/python/cpython/pull/93161/checks
Files changed https://github.com/python/cpython/pull/93161/files
Please reload this pagehttps://github.com/python/cpython/pull/93161/files
gh-92728: Restore re.template, but deprecate it https://github.com/python/cpython/pull/93161/files#top
Show all changes 9 commits https://github.com/python/cpython/pull/93161/files
2e8f218 Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE… hroncok May 24, 2022 https://github.com/python/cpython/pull/93161/commits/2e8f21830caaf186f0f0a1e8855ec87197ddffd1
82e9f97 Deprecate re.template hroncok May 24, 2022 https://github.com/python/cpython/pull/93161/commits/82e9f974462fd52cdabe882f2076aac16c240a3b
88ed787 Blurb it! hroncok May 24, 2022 https://github.com/python/cpython/pull/93161/commits/88ed787c528086c19cc72be34dec34d3dd30e93b
b26b7b6 Typos hroncok May 24, 2022 https://github.com/python/cpython/pull/93161/commits/b26b7b6f5e924f19e9f79776db4afe46000410fd
b80e4f4 What's new? hroncok May 24, 2022 https://github.com/python/cpython/pull/93161/commits/b80e4f4d1640e811cbabc27e84df61bf67198bb4
1a97998 Update the comment for SRE_FLAG_TEMPLATE hroncok May 24, 2022 https://github.com/python/cpython/pull/93161/commits/1a979981a6833a6cf2a4ab48720b7e24b4425590
cd4b0a0 Add a note to the previous changelog entry. hroncok May 24, 2022 https://github.com/python/cpython/pull/93161/commits/cd4b0a058b6237b415ba340bb371ec8ce267e5c1
773a6ad Also update the comment in re/__init__.py hroncok May 24, 2022 https://github.com/python/cpython/pull/93161/commits/773a6ad25261ab1990ea9a78484984ed1b3e917e
ef78163 Typo hroncok May 24, 2022 https://github.com/python/cpython/pull/93161/commits/ef781633d71a83c975df4b955bad550afb896326
Clear filters https://github.com/python/cpython/pull/93161/files
Please reload this pagehttps://github.com/python/cpython/pull/93161/files
Please reload this pagehttps://github.com/python/cpython/pull/93161/files
3.11.rst https://github.com/python/cpython/pull/93161/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d
__init__.py https://github.com/python/cpython/pull/93161/files#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
_compiler.py https://github.com/python/cpython/pull/93161/files#diff-3e776e84b7a95409df7edfbf70c18876df4409abd1c339f756cbd523188999a6
_constants.py https://github.com/python/cpython/pull/93161/files#diff-13d8983b3481e2b0584fe946b8a4a0d43092e268242f74742fb20915b597d260
_parser.py https://github.com/python/cpython/pull/93161/files#diff-53600b74a08a996010a625ca6a0b8f493cb8ae097d7f427d521876b1b5d8afdb
test_re.py https://github.com/python/cpython/pull/93161/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
3.11.0b1.rst https://github.com/python/cpython/pull/93161/files#diff-589ce8c05813e969a7fb9dc85ce931977c61ff835d62de81d7cf5f5c4fa254b2
2022-05-24-10-59-02.gh-issue-92728.zxTifq.rst https://github.com/python/cpython/pull/93161/files#diff-7241ebbe7e2e05afc0a84ac272ef9a01bb254ba96436252316b20016e666d295
sre.c https://github.com/python/cpython/pull/93161/files#diff-b715247383fe7eb29c4592bf02da337a5ed85dfcbb4862bf3f5d4f2537dce22d
sre_constants.h https://github.com/python/cpython/pull/93161/files#diff-c1a534055d1dd28f599c36137a1866bcaa2ce68d7e55b9aa06ed5fde20aa136c
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/whatsnew/3.11.rsthttps://github.com/python/cpython/pull/93161/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d
View file https://github.com/hroncok/cpython/blob/ef781633d71a83c975df4b955bad550afb896326/Doc/whatsnew/3.11.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93161/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93161/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d
https://github.com/python/cpython/pull/93161/files#diff-78f24041d66ab8ed2ae1aee94bcd42396d27af833cb96a3c506294c6d6dce82d
Lib/re/__init__.pyhttps://github.com/python/cpython/pull/93161/files#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
View file https://github.com/hroncok/cpython/blob/ef781633d71a83c975df4b955bad550afb896326/Lib/re/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93161/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93161/files#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
https://github.com/python/cpython/pull/93161/files#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
https://github.com/python/cpython/pull/93161/files#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
https://github.com/python/cpython/pull/93161/files#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
Please reload this pagehttps://github.com/python/cpython/pull/93161/files
https://github.com/python/cpython/pull/93161/files#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
https://github.com/python/cpython/pull/93161/files#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
https://github.com/python/cpython/pull/93161/files#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
Lib/re/_compiler.pyhttps://github.com/python/cpython/pull/93161/files#diff-3e776e84b7a95409df7edfbf70c18876df4409abd1c339f756cbd523188999a6
View file https://github.com/hroncok/cpython/blob/ef781633d71a83c975df4b955bad550afb896326/Lib/re/_compiler.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93161/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93161/files#diff-3e776e84b7a95409df7edfbf70c18876df4409abd1c339f756cbd523188999a6
https://github.com/python/cpython/pull/93161/files#diff-3e776e84b7a95409df7edfbf70c18876df4409abd1c339f756cbd523188999a6
Lib/re/_constants.pyhttps://github.com/python/cpython/pull/93161/files#diff-13d8983b3481e2b0584fe946b8a4a0d43092e268242f74742fb20915b597d260
View file https://github.com/hroncok/cpython/blob/ef781633d71a83c975df4b955bad550afb896326/Lib/re/_constants.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93161/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93161/files#diff-13d8983b3481e2b0584fe946b8a4a0d43092e268242f74742fb20915b597d260
https://github.com/python/cpython/pull/93161/files#diff-13d8983b3481e2b0584fe946b8a4a0d43092e268242f74742fb20915b597d260
Lib/re/_parser.pyhttps://github.com/python/cpython/pull/93161/files#diff-53600b74a08a996010a625ca6a0b8f493cb8ae097d7f427d521876b1b5d8afdb
View file https://github.com/hroncok/cpython/blob/ef781633d71a83c975df4b955bad550afb896326/Lib/re/_parser.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93161/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93161/files#diff-53600b74a08a996010a625ca6a0b8f493cb8ae097d7f427d521876b1b5d8afdb
https://github.com/python/cpython/pull/93161/files#diff-53600b74a08a996010a625ca6a0b8f493cb8ae097d7f427d521876b1b5d8afdb
Lib/test/test_re.pyhttps://github.com/python/cpython/pull/93161/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
View file https://github.com/hroncok/cpython/blob/ef781633d71a83c975df4b955bad550afb896326/Lib/test/test_re.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93161/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93161/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
https://github.com/python/cpython/pull/93161/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
https://github.com/python/cpython/pull/93161/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
https://github.com/python/cpython/pull/93161/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
Misc/NEWS.d/3.11.0b1.rsthttps://github.com/python/cpython/pull/93161/files#diff-589ce8c05813e969a7fb9dc85ce931977c61ff835d62de81d7cf5f5c4fa254b2
View file https://github.com/hroncok/cpython/blob/ef781633d71a83c975df4b955bad550afb896326/Misc/NEWS.d/3.11.0b1.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93161/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93161/files#diff-589ce8c05813e969a7fb9dc85ce931977c61ff835d62de81d7cf5f5c4fa254b2
https://github.com/python/cpython/pull/93161/files#diff-589ce8c05813e969a7fb9dc85ce931977c61ff835d62de81d7cf5f5c4fa254b2
Misc/NEWS.d/next/Library/2022-05-24-10-59-02.gh-issue-92728.zxTifq.rsthttps://github.com/python/cpython/pull/93161/files#diff-7241ebbe7e2e05afc0a84ac272ef9a01bb254ba96436252316b20016e666d295
View file https://github.com/hroncok/cpython/blob/ef781633d71a83c975df4b955bad550afb896326/Misc/NEWS.d/next/Library/2022-05-24-10-59-02.gh-issue-92728.zxTifq.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93161/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/cpython/pull/93161/files
Modules/_sre/sre.chttps://github.com/python/cpython/pull/93161/files#diff-b715247383fe7eb29c4592bf02da337a5ed85dfcbb4862bf3f5d4f2537dce22d
View file https://github.com/hroncok/cpython/blob/ef781633d71a83c975df4b955bad550afb896326/Modules/_sre/sre.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93161/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93161/files#diff-b715247383fe7eb29c4592bf02da337a5ed85dfcbb4862bf3f5d4f2537dce22d
https://github.com/python/cpython/pull/93161/files#diff-b715247383fe7eb29c4592bf02da337a5ed85dfcbb4862bf3f5d4f2537dce22d
Modules/_sre/sre_constants.hhttps://github.com/python/cpython/pull/93161/files#diff-c1a534055d1dd28f599c36137a1866bcaa2ce68d7e55b9aa06ed5fde20aa136c
View file https://github.com/hroncok/cpython/blob/ef781633d71a83c975df4b955bad550afb896326/Modules/_sre/sre_constants.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93161/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93161/files#diff-c1a534055d1dd28f599c36137a1866bcaa2ce68d7e55b9aa06ed5fde20aa136c
https://github.com/python/cpython/pull/93161/files#diff-c1a534055d1dd28f599c36137a1866bcaa2ce68d7e55b9aa06ed5fde20aa136c
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.