René's URL Explorer Experiment


Title: bpo-45026: More compact range iterator (alt) by serhiy-storchaka · Pull Request #28176 · python/cpython · GitHub

Open Graph Title: bpo-45026: More compact range iterator (alt) by serhiy-storchaka · Pull Request #28176 · python/cpython

X Title: bpo-45026: More compact range iterator (alt) by serhiy-storchaka · Pull Request #28176 · python/cpython

Description: Keep the current and stop values instead of initial start, index and initial length. https://bugs.python.org/issue45026 #89189

Open Graph Description: Keep the current and stop values instead of initial start, index and initial length. https://bugs.python.org/issue45026 #89189

X Description: Keep the current and stop values instead of initial start, index and initial length. https://bugs.python.org/issue45026 #89189

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

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:bfc7cdbc-78a6-c932-37a7-e0ee1315afce
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8A0E:225E33:175E04D:1F56B2A:6969A8F6
html-safe-nonce3960f92b11a3ca0829f24b807187b61a2b906ee41dbb94ac815de488b22d688e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTBFOjIyNUUzMzoxNzVFMDREOjFGNTZCMkE6Njk2OUE4RjYiLCJ2aXNpdG9yX2lkIjoiMTY3MTA5NTQ3NjU0ODExODc3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9f61cd9d243d03fbfd63a33a0efe3ca27fdfac8b6cf8a80a76e6b52ccc21ac73
hovercard-subject-tagpull_request:727400220
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/28176/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/09c79825f9925067b894b93fe2d876aa99386fe4979aedbffae2ac4c8d1c7630/python/cpython/pull/28176
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/09c79825f9925067b894b93fe2d876aa99386fe4979aedbffae2ac4c8d1c7630/python/cpython/pull/28176
og:image:altKeep the current and stop values instead of initial start, index and initial length. https://bugs.python.org/issue45026 #89189
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-preview
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
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/28176#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F28176
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%2F28176
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/28176
Reloadhttps://github.com/python/cpython/pull/28176
Reloadhttps://github.com/python/cpython/pull/28176
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/28176
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/28176
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
Jump to bottomhttps://github.com/python/cpython/pull/28176#issue-comment-box
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:range-iter2https://github.com/serhiy-storchaka/cpython/tree/range-iter2
bpo-45026: More compact range iterator (alt) https://github.com/python/cpython/pull/28176#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:range-iter2https://github.com/serhiy-storchaka/cpython/tree/range-iter2
Conversation 8 https://github.com/python/cpython/pull/28176
Commits 15 https://github.com/python/cpython/pull/28176/commits
Checks 0 https://github.com/python/cpython/pull/28176/checks
Files changed https://github.com/python/cpython/pull/28176/files
Please reload this pagehttps://github.com/python/cpython/pull/28176
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Sep 5, 2021https://github.com/python/cpython/pull/28176#issue-988506737
Please reload this pagehttps://github.com/python/cpython/pull/28176
https://bugs.python.org/issue45026https://bugs.python.org/issue45026
#89189https://github.com/python/cpython/issues/89189
Please reload this pagehttps://github.com/python/cpython/pull/28176
serhiy-storchakahttps://github.com/serhiy-storchaka
August 27, 2021 06:03https://github.com/python/cpython/pull/28176#commits-pushed-2fa0b0d
https://github.com/serhiy-storchaka
bpo-45026: More compact range iteratorhttps://github.com/python/cpython/pull/28176/commits/2fa0b0d756ec0ad5bd66be48dcf6411e879ffb73
2fa0b0dhttps://github.com/python/cpython/pull/28176/commits/2fa0b0d756ec0ad5bd66be48dcf6411e879ffb73
https://github.com/serhiy-storchaka
Fix sizeof test.https://github.com/python/cpython/pull/28176/commits/1cd01387ed050ecd71fee1196bb66a93d796abdb
1cd0138https://github.com/python/cpython/pull/28176/commits/1cd01387ed050ecd71fee1196bb66a93d796abdb
https://github.com/serhiy-storchaka
Merge branch 'main' into range-iterhttps://github.com/python/cpython/pull/28176/commits/214f204c7114efe1f523de7e4354adce816706f0
214f204https://github.com/python/cpython/pull/28176/commits/214f204c7114efe1f523de7e4354adce816706f0
https://github.com/serhiy-storchaka
Add explicit tests for __setstate__.https://github.com/python/cpython/pull/28176/commits/3133f664f1cd7c04ae60c7ca51b6ea3224024ac9
3133f66https://github.com/python/cpython/pull/28176/commits/3133f664f1cd7c04ae60c7ca51b6ea3224024ac9
https://github.com/serhiy-storchaka
Add a NEWS entry.https://github.com/python/cpython/pull/28176/commits/7a42474da799a5b75ac661247c817771c18ee5a3
7a42474https://github.com/python/cpython/pull/28176/commits/7a42474da799a5b75ac661247c817771c18ee5a3
https://github.com/serhiy-storchaka
Merge branch 'main' into range-iterhttps://github.com/python/cpython/pull/28176/commits/175b0d3bd125344f114955078dc6bdc85c45e415
175b0d3https://github.com/python/cpython/pull/28176/commits/175b0d3bd125344f114955078dc6bdc85c45e415
https://github.com/serhiy-storchaka
Keep stop instead of len.https://github.com/python/cpython/pull/28176/commits/177da8c11e973bc6649d0c3d5ee06da54d020804
177da8chttps://github.com/python/cpython/pull/28176/commits/177da8c11e973bc6649d0c3d5ee06da54d020804
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Sep 5, 2021https://github.com/python/cpython/pull/28176#event-5257494499
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
Sep 5, 2021https://github.com/python/cpython/pull/28176#event-5257494532
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 5, 2021https://github.com/python/cpython/pull/28176#event-5257494548
https://github.com/ambv
ambvhttps://github.com/ambv
Sep 8, 2021 https://github.com/python/cpython/pull/28176#pullrequestreview-749412924
View reviewed changes https://github.com/python/cpython/pull/28176/files/177da8c11e973bc6649d0c3d5ee06da54d020804
Objects/rangeobject.chttps://github.com/python/cpython/pull/28176/files/177da8c11e973bc6649d0c3d5ee06da54d020804#diff-57cf7b657aa9de8cff0fe5dd08e43061fd5dae05dfd8446f99831fd1f7e0230d
Please reload this pagehttps://github.com/python/cpython/pull/28176
https://github.com/ambv
ambvhttps://github.com/ambv
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Sep 8, 2021https://github.com/python/cpython/pull/28176#event-5273724969
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 8, 2021https://github.com/python/cpython/pull/28176#issuecomment-915424027
@ambvhttps://github.com/ambv
177da8chttps://github.com/python/cpython/commit/177da8c11e973bc6649d0c3d5ee06da54d020804
Please reload this pagehttps://github.com/python/cpython/pull/28176
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Sep 8, 2021https://github.com/python/cpython/pull/28176#event-5273725143
https://github.com/ambv
ambvhttps://github.com/ambv
Sep 10, 2021https://github.com/python/cpython/pull/28176#issuecomment-917029301
Please reload this pagehttps://github.com/python/cpython/pull/28176
serhiy-storchakahttps://github.com/serhiy-storchaka
September 10, 2021 19:18https://github.com/python/cpython/pull/28176#commits-pushed-155cb3c
https://github.com/serhiy-storchaka
Merge branch 'main' into range-iter2https://github.com/python/cpython/pull/28176/commits/155cb3c0802277c11cd8d5517bf477cd912b3885
155cb3chttps://github.com/python/cpython/pull/28176/commits/155cb3c0802277c11cd8d5517bf477cd912b3885
https://github.com/serhiy-storchaka
Fix refleaks.https://github.com/python/cpython/pull/28176/commits/dced0e69e4b703ae9706a7084f082cef7fc46aee
dced0e6https://github.com/python/cpython/pull/28176/commits/dced0e69e4b703ae9706a7084f082cef7fc46aee
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Sep 10, 2021https://github.com/python/cpython/pull/28176#issuecomment-917044756
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/28176
https://github.com/ambv
ambvhttps://github.com/ambv
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Sep 10, 2021https://github.com/python/cpython/pull/28176#event-5285659268
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 10, 2021https://github.com/python/cpython/pull/28176#issuecomment-917074269
@ambvhttps://github.com/ambv
dced0e6https://github.com/python/cpython/commit/dced0e69e4b703ae9706a7084f082cef7fc46aee
Please reload this pagehttps://github.com/python/cpython/pull/28176
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Sep 10, 2021https://github.com/python/cpython/pull/28176#event-5285659391
https://github.com/serhiy-storchaka
Merge branch 'main' into range-iter2https://github.com/python/cpython/pull/28176/commits/32198493d84bb9d3de008c701279ead99d3bf0aa
3219849https://github.com/python/cpython/pull/28176/commits/32198493d84bb9d3de008c701279ead99d3bf0aa
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
ambvhttps://github.com/ambv
September 22, 2021 17:11https://github.com/python/cpython/pull/28176#event-5344686200
https://github.com/serhiy-storchaka
Merge branch 'main' into range-iter2https://github.com/python/cpython/pull/28176/commits/cffa90a8b0057d7e7456571045f2fb7b9ceb426f
cffa90ahttps://github.com/python/cpython/pull/28176/commits/cffa90a8b0057d7e7456571045f2fb7b9ceb426f
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 26, 2021https://github.com/python/cpython/pull/28176#issuecomment-951432729
Please reload this pagehttps://github.com/python/cpython/pull/28176
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
Oct 26, 2021https://github.com/python/cpython/pull/28176#event-5516945917
https://github.com/serhiy-storchaka
Merge branch 'main' into range-iter2https://github.com/python/cpython/pull/28176/commits/dbdb0ccba14eb218347e49f788ca3675fd04f0af
dbdb0cchttps://github.com/python/cpython/pull/28176/commits/dbdb0ccba14eb218347e49f788ca3675fd04f0af
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
rhettingerhttps://github.com/rhettinger
May 3, 2022 09:01https://github.com/python/cpython/pull/28176#event-6539265320
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
May 3, 2022https://github.com/python/cpython/pull/28176#issuecomment-1115879334
#27986https://github.com/python/cpython/pull/27986
Please reload this pagehttps://github.com/python/cpython/pull/28176
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
May 3, 2022 https://github.com/python/cpython/pull/28176#ref-pullrequest-980824188
gh-89189: More compact range iterator #27986 https://github.com/python/cpython/pull/27986
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/28176#event-6988864824
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
Aug 12, 2022https://github.com/python/cpython/pull/28176#event-7175667603
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 18, 2022 https://github.com/python/cpython/pull/28176#ref-issue-1199064077
More compact range iterator #89189 https://github.com/python/cpython/issues/89189
serhiy-storchakahttps://github.com/serhiy-storchaka
November 27, 2022 10:34https://github.com/python/cpython/pull/28176#commits-pushed-109445f
https://github.com/serhiy-storchaka
Merge branch 'main' into range-iter2https://github.com/python/cpython/pull/28176/commits/109445f97b240baf1eff4577710962615cd7a3d6
109445fhttps://github.com/python/cpython/pull/28176/commits/109445f97b240baf1eff4577710962615cd7a3d6
https://github.com/serhiy-storchaka
Unify code with range-iter.https://github.com/python/cpython/pull/28176/commits/189ca23ec32e674016073c453c75c44bd54a8bd9
189ca23https://github.com/python/cpython/pull/28176/commits/189ca23ec32e674016073c453c75c44bd54a8bd9
https://github.com/serhiy-storchaka
Microoptimize small range iteration.https://github.com/python/cpython/pull/28176/commits/d3159110639c8b0468b84d9b58955ce751681310
d315911https://github.com/python/cpython/pull/28176/commits/d3159110639c8b0468b84d9b58955ce751681310
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 30, 2022https://github.com/python/cpython/pull/28176#event-7925701310
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%2F28176
https://github.com/ambv
ambv https://github.com/ambv
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/28176
https://github.com/serhiy-storchaka
https://github.com/bedevere-bot
https://github.com/ambv
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
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.