René's URL Explorer Experiment


Title: gh-52188: emit FutureWarning for negative start/end indices by anilbey · Pull Request #107105 · python/cpython · GitHub

Open Graph Title: gh-52188: emit FutureWarning for negative start/end indices by anilbey · Pull Request #107105 · python/cpython

X Title: gh-52188: emit FutureWarning for negative start/end indices by anilbey · Pull Request #107105 · python/cpython

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

Open Graph Description: This PR is for emitting future warnings 2 releases prior to gh-52188 a.k.a. bpo-7940.

X Description: This PR is for emitting future warnings 2 releases prior to gh-52188 a.k.a. bpo-7940.

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

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:be5ceccc-0413-a653-6780-7aecd17b532b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idED46:348BD7:42E5797:5D90F5F:6A4F6866
html-safe-nonce517466181d38c3e9cfda6eddd7ee58766dc58ea1114a10f404d65583b6908e96
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDQ2OjM0OEJENzo0MkU1Nzk3OjVEOTBGNUY6NkE0RjY4NjYiLCJ2aXNpdG9yX2lkIjoiODk2MDk4ODI5MDM0MjY3NjU4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac734a898de2aaea911880130b7db79b98bc218585690ef2965efa35451e0ac774
hovercard-subject-tagpull_request:1445550572
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/107105/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9ea15fa5f4e3c9c0661f41d7c960f509360ae0ba6a2b31fb6f01b47910e76003/python/cpython/pull/107105
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ea15fa5f4e3c9c0661f41d7c960f509360ae0ba6a2b31fb6f01b47910e76003/python/cpython/pull/107105
og:image:altThis PR is for emitting future warnings 2 releases prior to gh-52188 a.k.a. bpo-7940.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameanilbey
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/107105#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107105
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%2F107105
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/107105
Reloadhttps://github.com/python/cpython/pull/107105
Reloadhttps://github.com/python/cpython/pull/107105
Please reload this pagehttps://github.com/python/cpython/pull/107105
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/107105
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
anilbeyhttps://github.com/anilbey
python:mainhttps://github.com/python/cpython/tree/main
anilbey:bpo7940-future-warninghttps://github.com/anilbey/cpython/tree/bpo7940-future-warning
Conversationhttps://github.com/python/cpython/pull/107105
Commits8 (8)https://github.com/python/cpython/pull/107105/commits
Checkshttps://github.com/python/cpython/pull/107105/checks
Files changedhttps://github.com/python/cpython/pull/107105/files
gh-52188: emit FutureWarning for negative start/end indiceshttps://github.com/python/cpython/pull/107105#top
anilbeyhttps://github.com/anilbey
python:mainhttps://github.com/python/cpython/tree/main
anilbey:bpo7940-future-warninghttps://github.com/anilbey/cpython/tree/bpo7940-future-warning
https://github.com/anilbey
anilbeyhttps://github.com/anilbey
Jul 23, 2023https://github.com/python/cpython/pull/107105#issue-1817060998
Please reload this pagehttps://github.com/python/cpython/pull/107105
gh-52188https://github.com/python/cpython/issues/52188
bpo-7940https://bugs.python.org/issue?@action=redirect&bpo=7940
Please reload this pagehttps://github.com/python/cpython/pull/107105
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 23, 2023https://github.com/python/cpython/pull/107105#event-9892458821
https://github.com/anilbey
anilbeyhttps://github.com/anilbey
Jul 23, 2023https://github.com/python/cpython/pull/107105#issuecomment-1646794681
Please reload this pagehttps://github.com/python/cpython/pull/107105
@ambvhttps://github.com/ambv
gh-52188https://github.com/python/cpython/issues/52188
bpo-7940https://bugs.python.org/issue?@action=redirect&bpo=7940
Please reload this pagehttps://github.com/python/cpython/pull/107105
https://github.com/anilbey
anilbeyhttps://github.com/anilbey
Jul 23, 2023https://github.com/python/cpython/pull/107105#event-9892466081
https://github.com/anilbey
anilbeyhttps://github.com/anilbey
force-pushedhttps://github.com/python/cpython/compare/965db9abe36594161c9d35130ac3a63a890ff724..b3fe8ee211ce96298e9cb2d434bf79a1b147ffe6
965db9ahttps://github.com/python/cpython/commit/965db9abe36594161c9d35130ac3a63a890ff724
b3fe8eehttps://github.com/python/cpython/commit/b3fe8ee211ce96298e9cb2d434bf79a1b147ffe6
Compare https://github.com/python/cpython/compare/965db9abe36594161c9d35130ac3a63a890ff724..b3fe8ee211ce96298e9cb2d434bf79a1b147ffe6
July 23, 2023 09:47https://github.com/python/cpython/pull/107105#event-9892469455
https://github.com/anilbey
anilbeyhttps://github.com/anilbey
Jul 23, 2023https://github.com/python/cpython/pull/107105#event-9892495900
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jul 23, 2023 https://github.com/python/cpython/pull/107105#ref-issue-1198852321
re.finditer and re.findall should support negative end positions #52188 https://github.com/python/cpython/issues/52188
anilbeyhttps://github.com/anilbey
July 23, 2023 17:09https://github.com/python/cpython/pull/107105#commits-pushed-ef0558d
https://github.com/anilbey
emit FutureWarning for negative start/end indiceshttps://github.com/python/cpython/pull/107105/commits/ef0558d912a317f3df4310d4efea6f5ed5366fa1
ef0558dhttps://github.com/python/cpython/pull/107105/commits/ef0558d912a317f3df4310d4efea6f5ed5366fa1
https://github.com/anilbey
added news entryhttps://github.com/python/cpython/pull/107105/commits/1ac29f0bf684c77cf2cbde4a2690e8df0363bb5e
1ac29f0https://github.com/python/cpython/pull/107105/commits/1ac29f0bf684c77cf2cbde4a2690e8df0363bb5e
https://github.com/anilbey
update warning text, mention python3.15https://github.com/python/cpython/pull/107105/commits/0b5980072772be80eb4a609c925339c831551ca9
0b59800https://github.com/python/cpython/pull/107105/commits/0b5980072772be80eb4a609c925339c831551ca9
https://github.com/anilbey
use gh issue in the news item instead of bpohttps://github.com/python/cpython/pull/107105/commits/14359b613dd268652da3adf2bfa89f5126abfee8
14359b6https://github.com/python/cpython/pull/107105/commits/14359b613dd268652da3adf2bfa89f5126abfee8
https://github.com/anilbey
update docs of re, mention future-warninghttps://github.com/python/cpython/pull/107105/commits/a21c4eeb30fb3c745cf29d4ba82471c1bbc44040
a21c4eehttps://github.com/python/cpython/pull/107105/commits/a21c4eeb30fb3c745cf29d4ba82471c1bbc44040
https://github.com/anilbey
add test to make sure FutureWarnings are raisedhttps://github.com/python/cpython/pull/107105/commits/c98347e3dedf3feaf89263507dcc2bf19d12662a
c98347ehttps://github.com/python/cpython/pull/107105/commits/c98347e3dedf3feaf89263507dcc2bf19d12662a
https://github.com/anilbey
update docs FutureWarning: mention start index as wellhttps://github.com/python/cpython/pull/107105/commits/124d3071f47ab6000b4059941faeba2070774960
124d307https://github.com/python/cpython/pull/107105/commits/124d3071f47ab6000b4059941faeba2070774960
https://github.com/anilbey
update news item, mention start index as wellhttps://github.com/python/cpython/pull/107105/commits/8d661b6807fbcc623536c367ea2fe451708494b5
8d661b6https://github.com/python/cpython/pull/107105/commits/8d661b6807fbcc623536c367ea2fe451708494b5
https://github.com/anilbey
anilbeyhttps://github.com/anilbey
force-pushedhttps://github.com/python/cpython/compare/962171288518959185ac08f60f66de1d0beb338d..8d661b6807fbcc623536c367ea2fe451708494b5
9621712https://github.com/python/cpython/commit/962171288518959185ac08f60f66de1d0beb338d
8d661b6https://github.com/python/cpython/commit/8d661b6807fbcc623536c367ea2fe451708494b5
Compare https://github.com/python/cpython/compare/962171288518959185ac08f60f66de1d0beb338d..8d661b6807fbcc623536c367ea2fe451708494b5
July 23, 2023 15:09https://github.com/python/cpython/pull/107105#event-9892952494
https://github.com/anilbey
anilbeyhttps://github.com/anilbey
Aug 16, 2023 https://github.com/python/cpython/pull/107105#ref-pullrequest-467721561
bpo-7940: add support for negative end positions to re.finditer and re.findall #14744 https://github.com/python/cpython/pull/14744
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 13, 2026https://github.com/python/cpython/pull/107105#issuecomment-4236322752
Please reload this pagehttps://github.com/python/cpython/pull/107105
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Apr 13, 2026https://github.com/python/cpython/pull/107105#event-24445420682
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%2F107105
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/python/cpython/pull/107105
https://github.com/anilbey
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.