René's URL Explorer Experiment


Title: bpo-30215: Make re.compile() locale agnostic. by serhiy-storchaka · Pull Request #1361 · python/cpython · GitHub

Open Graph Title: bpo-30215: Make re.compile() locale agnostic. by serhiy-storchaka · Pull Request #1361 · python/cpython

X Title: bpo-30215: Make re.compile() locale agnostic. by serhiy-storchaka · Pull Request #1361 · python/cpython

Description: Compiled regular expression objects with the re.LOCALE flag no longer depend on the locale at compile time. Only the locale at matching time affects the result of matching.

Open Graph Description: Compiled regular expression objects with the re.LOCALE flag no longer depend on the locale at compile time. Only the locale at matching time affects the result of matching.

X Description: Compiled regular expression objects with the re.LOCALE flag no longer depend on the locale at compile time. Only the locale at matching time affects the result of matching.

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1ea3dd77-ad3e-60af-3495-4165287b5b3b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id84B2:2CEF6D:586C57A:7C49FF4:6A5730FE
html-safe-noncea8fe89faf4fade8b041e4f8dbdd653fa18ce92ce38a64c676ba147077de1e4d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEIyOjJDRUY2RDo1ODZDNTdBOjdDNDlGRjQ6NkE1NzMwRkUiLCJ2aXNpdG9yX2lkIjoiODY3MzA1MDAwMjAzMjM3NDAxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace4b97a8decd10aba2d6c113704cb3932dd6afc9728354e83f288ff216edf7494
hovercard-subject-tagpull_request:118301346
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/1361/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:altCompiled regular expression objects with the re.LOCALE flag no longer depend on the locale at compile time. Only the locale at matching time affects the result of matching.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98
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
release2576d1f0198cf1588faf2edf27f1ed120903be10
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/1361/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F1361%2Ffiles
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%2F1361%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/1361/files
Reloadhttps://github.com/python/cpython/pull/1361/files
Reloadhttps://github.com/python/cpython/pull/1361/files
Please reload this pagehttps://github.com/python/cpython/pull/1361/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/1361/files
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
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:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:re-compile-localehttps://github.com/serhiy-storchaka/cpython/tree/re-compile-locale
Conversation 1 https://github.com/python/cpython/pull/1361
Commits 5 https://github.com/python/cpython/pull/1361/commits
Checks 0 https://github.com/python/cpython/pull/1361/checks
Files changed https://github.com/python/cpython/pull/1361/files
Please reload this pagehttps://github.com/python/cpython/pull/1361/files
bpo-30215: Make re.compile() locale agnostic. https://github.com/python/cpython/pull/1361/files#top
Show all changes 5 commits https://github.com/python/cpython/pull/1361/files
243ca79 bpo-30215: Make re.compile() locale agnostic. serhiy-storchaka Apr 30, 2017 https://github.com/python/cpython/pull/1361/commits/243ca79d3180fcf263b051da2b800d6e7be696aa
8994a0d Fix a bug in IN_LOC_IGNORE. serhiy-storchaka Apr 30, 2017 https://github.com/python/cpython/pull/1361/commits/8994a0dde7a85e8c84ae948dbfeb79eecc816d26
99acf99 Merge branch 'master' of https://github.com/python/cpython into re-co… serhiy-storchaka May 4, 2017 https://github.com/python/cpython/pull/1361/commits/99acf99b3747ce456f76432f19c2de39f4ebc59d
037a06e Fix the order of parameters in char_loc_ignore(). serhiy-storchaka May 4, 2017 https://github.com/python/cpython/pull/1361/commits/037a06e0c40920d91345d3f7cc099cf73a551b90
d552321 Merge branch 'master' into re-compile-locale serhiy-storchaka May 5, 2017 https://github.com/python/cpython/pull/1361/commits/d55232158edbd1cc2482ecdc354ef23f29a02079
Clear filters https://github.com/python/cpython/pull/1361/files
Please reload this pagehttps://github.com/python/cpython/pull/1361/files
Please reload this pagehttps://github.com/python/cpython/pull/1361/files
re.rst https://github.com/python/cpython/pull/1361/files#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
re.py https://github.com/python/cpython/pull/1361/files#diff-b3acb629f8cea6310bc296c20238eee20737bf70057079b4ee4624a643c2775d
sre_compile.py https://github.com/python/cpython/pull/1361/files#diff-806633f92a864026d6c611735f1e2cbb063eb817ea1cca36e8d9f9bcf252baa6
sre_constants.py https://github.com/python/cpython/pull/1361/files#diff-2809ceff33bbd4caf1c97444c63cc36d852b719bb417725ff6a2d6f9a448e386
test_re.py https://github.com/python/cpython/pull/1361/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
NEWS https://github.com/python/cpython/pull/1361/files#diff-f920da77b137d2e8eedf287c987745a3ff99c83d20a6332f656b35d12c479d10
_sre.c https://github.com/python/cpython/pull/1361/files#diff-aaff088141c53a1b4b5f0d9d35d0bbd0406bac50c73be47328df26f46c9fe41c
sre_constants.h https://github.com/python/cpython/pull/1361/files#diff-fa3757d7529b86b657a4880fbfdc3c2c3aa9bd461422aa946f62b0d76904a7f7
sre_lib.h https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
Doc/library/re.rsthttps://github.com/python/cpython/pull/1361/files#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
View file https://github.com/serhiy-storchaka/cpython/blob/d55232158edbd1cc2482ecdc354ef23f29a02079/Doc/library/re.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/1361/{{ revealButtonHref }}
https://github.com/python/cpython/pull/1361/files#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
https://github.com/python/cpython/pull/1361/files#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
Lib/re.pyhttps://github.com/python/cpython/pull/1361/files#diff-b3acb629f8cea6310bc296c20238eee20737bf70057079b4ee4624a643c2775d
View file https://github.com/serhiy-storchaka/cpython/blob/d55232158edbd1cc2482ecdc354ef23f29a02079/Lib/re.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/1361/{{ revealButtonHref }}
https://github.com/python/cpython/pull/1361/files#diff-b3acb629f8cea6310bc296c20238eee20737bf70057079b4ee4624a643c2775d
https://github.com/python/cpython/pull/1361/files#diff-b3acb629f8cea6310bc296c20238eee20737bf70057079b4ee4624a643c2775d
https://github.com/python/cpython/pull/1361/files#diff-b3acb629f8cea6310bc296c20238eee20737bf70057079b4ee4624a643c2775d
Lib/sre_compile.pyhttps://github.com/python/cpython/pull/1361/files#diff-806633f92a864026d6c611735f1e2cbb063eb817ea1cca36e8d9f9bcf252baa6
View file https://github.com/serhiy-storchaka/cpython/blob/d55232158edbd1cc2482ecdc354ef23f29a02079/Lib/sre_compile.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/1361/{{ revealButtonHref }}
https://github.com/python/cpython/pull/1361/files#diff-806633f92a864026d6c611735f1e2cbb063eb817ea1cca36e8d9f9bcf252baa6
https://github.com/python/cpython/pull/1361/files#diff-806633f92a864026d6c611735f1e2cbb063eb817ea1cca36e8d9f9bcf252baa6
https://github.com/python/cpython/pull/1361/files#diff-806633f92a864026d6c611735f1e2cbb063eb817ea1cca36e8d9f9bcf252baa6
Lib/sre_constants.pyhttps://github.com/python/cpython/pull/1361/files#diff-2809ceff33bbd4caf1c97444c63cc36d852b719bb417725ff6a2d6f9a448e386
View file https://github.com/serhiy-storchaka/cpython/blob/d55232158edbd1cc2482ecdc354ef23f29a02079/Lib/sre_constants.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/1361/{{ revealButtonHref }}
https://github.com/python/cpython/pull/1361/files#diff-2809ceff33bbd4caf1c97444c63cc36d852b719bb417725ff6a2d6f9a448e386
https://github.com/python/cpython/pull/1361/files#diff-2809ceff33bbd4caf1c97444c63cc36d852b719bb417725ff6a2d6f9a448e386
https://github.com/python/cpython/pull/1361/files#diff-2809ceff33bbd4caf1c97444c63cc36d852b719bb417725ff6a2d6f9a448e386
https://github.com/python/cpython/pull/1361/files#diff-2809ceff33bbd4caf1c97444c63cc36d852b719bb417725ff6a2d6f9a448e386
https://github.com/python/cpython/pull/1361/files#diff-2809ceff33bbd4caf1c97444c63cc36d852b719bb417725ff6a2d6f9a448e386
https://github.com/python/cpython/pull/1361/files#diff-2809ceff33bbd4caf1c97444c63cc36d852b719bb417725ff6a2d6f9a448e386
Lib/test/test_re.pyhttps://github.com/python/cpython/pull/1361/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
View file https://github.com/serhiy-storchaka/cpython/blob/d55232158edbd1cc2482ecdc354ef23f29a02079/Lib/test/test_re.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/1361/{{ revealButtonHref }}
https://github.com/python/cpython/pull/1361/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
https://github.com/python/cpython/pull/1361/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
Misc/NEWShttps://github.com/python/cpython/pull/1361/files#diff-f920da77b137d2e8eedf287c987745a3ff99c83d20a6332f656b35d12c479d10
View file https://github.com/serhiy-storchaka/cpython/blob/d55232158edbd1cc2482ecdc354ef23f29a02079/Misc/NEWS
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/1361/{{ revealButtonHref }}
https://github.com/python/cpython/pull/1361/files#diff-f920da77b137d2e8eedf287c987745a3ff99c83d20a6332f656b35d12c479d10
https://github.com/python/cpython/pull/1361/files#diff-f920da77b137d2e8eedf287c987745a3ff99c83d20a6332f656b35d12c479d10
Modules/_sre.chttps://github.com/python/cpython/pull/1361/files#diff-aaff088141c53a1b4b5f0d9d35d0bbd0406bac50c73be47328df26f46c9fe41c
View file https://github.com/serhiy-storchaka/cpython/blob/d55232158edbd1cc2482ecdc354ef23f29a02079/Modules/_sre.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/1361/{{ revealButtonHref }}
https://github.com/python/cpython/pull/1361/files#diff-aaff088141c53a1b4b5f0d9d35d0bbd0406bac50c73be47328df26f46c9fe41c
https://github.com/python/cpython/pull/1361/files#diff-aaff088141c53a1b4b5f0d9d35d0bbd0406bac50c73be47328df26f46c9fe41c
https://github.com/python/cpython/pull/1361/files#diff-aaff088141c53a1b4b5f0d9d35d0bbd0406bac50c73be47328df26f46c9fe41c
https://github.com/python/cpython/pull/1361/files#diff-aaff088141c53a1b4b5f0d9d35d0bbd0406bac50c73be47328df26f46c9fe41c
Modules/sre_constants.hhttps://github.com/python/cpython/pull/1361/files#diff-fa3757d7529b86b657a4880fbfdc3c2c3aa9bd461422aa946f62b0d76904a7f7
View file https://github.com/serhiy-storchaka/cpython/blob/d55232158edbd1cc2482ecdc354ef23f29a02079/Modules/sre_constants.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/1361/{{ revealButtonHref }}
https://github.com/python/cpython/pull/1361/files#diff-fa3757d7529b86b657a4880fbfdc3c2c3aa9bd461422aa946f62b0d76904a7f7
https://github.com/python/cpython/pull/1361/files#diff-fa3757d7529b86b657a4880fbfdc3c2c3aa9bd461422aa946f62b0d76904a7f7
https://github.com/python/cpython/pull/1361/files#diff-fa3757d7529b86b657a4880fbfdc3c2c3aa9bd461422aa946f62b0d76904a7f7
https://github.com/python/cpython/pull/1361/files#diff-fa3757d7529b86b657a4880fbfdc3c2c3aa9bd461422aa946f62b0d76904a7f7
Modules/sre_lib.hhttps://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
View file https://github.com/serhiy-storchaka/cpython/blob/d55232158edbd1cc2482ecdc354ef23f29a02079/Modules/sre_lib.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/1361/{{ revealButtonHref }}
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
https://github.com/python/cpython/pull/1361/files#diff-4e6d447ab468fcfdf1a5a9d8343c00af6d8f79eafc3ff2886eac8409bfc05df6
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.