René's URL Explorer Experiment


Title: bpo-28197: Add start and stop keywords to range.index() method by nitishch · Pull Request #4378 · python/cpython · GitHub

Open Graph Title: bpo-28197: Add start and stop keywords to range.index() method by nitishch · Pull Request #4378 · python/cpython

X Title: bpo-28197: Add start and stop keywords to range.index() method by nitishch · Pull Request #4378 · python/cpython

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

Open Graph Description: Added start and stop as keywords to range.index method. I created a temporary range object on which indexing will be done. Is there a better way to decref the temporary range object? https://bugs....

X Description: Added start and stop as keywords to range.index method. I created a temporary range object on which indexing will be done. Is there a better way to decref the temporary range object? https://bugs....

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

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:d81b7efe-64e8-d95d-4fd6-6ac8d99e0dbd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB32C:29738C:DCDACD:12B4A00:6A4D80D9
html-safe-nonce688ecf05b5a6481bbedbeccc0e1c4e2b575c8f7e68ab42936d41d826ce6002d1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzJDOjI5NzM4QzpEQ0RBQ0Q6MTJCNEEwMDo2QTREODBEOSIsInZpc2l0b3JfaWQiOiI3MjczNjIxNzA4NzkwNDk5NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca2ac0302d5badd3de8ac644c6fb25a907777720bf61508ca0b885a75bb88ba9a
hovercard-subject-tagpull_request:152099785
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/4378/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7ca717f24cfd43a605c98d3083ed61a7c3b2322e764a14b25031554759ff260c/python/cpython/pull/4378
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7ca717f24cfd43a605c98d3083ed61a7c3b2322e764a14b25031554759ff260c/python/cpython/pull/4378
og:image:altAdded start and stop as keywords to range.index method. I created a temporary range object on which indexing will be done. Is there a better way to decref the temporary range object? https://bugs....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenitishch
hostnamegithub.com
expected-hostnamegithub.com
Nonec6bf61c909482ec3072ef5d7a5a28f2a9d214788c9a44793eca1960048cb05ae
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
release6702a58b419a792226bd21ef0fb1bcb318bbcaa3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/4378#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4378
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2F4378
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/4378
Reloadhttps://github.com/python/cpython/pull/4378
Reloadhttps://github.com/python/cpython/pull/4378
Please reload this pagehttps://github.com/python/cpython/pull/4378
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/4378
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
nitishchhttps://github.com/nitishch
python:mainhttps://github.com/python/cpython/tree/main
nitishch:bpo-28197https://github.com/nitishch/cpython/tree/bpo-28197
Conversationhttps://github.com/python/cpython/pull/4378
Commits13 (13)https://github.com/python/cpython/pull/4378/commits
Checkshttps://github.com/python/cpython/pull/4378/checks
Files changedhttps://github.com/python/cpython/pull/4378/files
bpo-28197: Add start and stop keywords to range.index() methodhttps://github.com/python/cpython/pull/4378#top
nitishchhttps://github.com/nitishch
python:mainhttps://github.com/python/cpython/tree/main
nitishch:bpo-28197https://github.com/nitishch/cpython/tree/bpo-28197
https://github.com/nitishch
nitishchhttps://github.com/nitishch
Nov 12, 2017https://github.com/python/cpython/pull/4378#issue-273221581
Please reload this pagehttps://github.com/python/cpython/pull/4378
https://bugs.python.org/issue28197https://bugs.python.org/issue28197
Please reload this pagehttps://github.com/python/cpython/pull/4378
nitishchhttps://github.com/nitishch
November 5, 2017 00:06https://github.com/python/cpython/pull/4378#commits-pushed-f73b88a
https://github.com/nitishch
bpo-31942: Document optional support of start and stop in Sequence.in…https://github.com/python/cpython/pull/4378/commits/f73b88a5cc2198f64feae684725368ca0cce091d
f73b88ahttps://github.com/python/cpython/pull/4378/commits/f73b88a5cc2198f64feae684725368ca0cce091d
https://github.com/nitishch
bpo-31942: Improved some documentationhttps://github.com/python/cpython/pull/4378/commits/3660f6fc8d6ef0383a4602eca5f90a0a9943ec29
3660f6fhttps://github.com/python/cpython/pull/4378/commits/3660f6fc8d6ef0383a4602eca5f90a0a9943ec29
https://github.com/nitishch
Pulled from masterhttps://github.com/python/cpython/pull/4378/commits/c758e25e38894c9523bdeda5919399a069b665eb
c758e25https://github.com/python/cpython/pull/4378/commits/c758e25e38894c9523bdeda5919399a069b665eb
https://github.com/nitishch
Changed range.index from taking only one argument to multiple argumentshttps://github.com/python/cpython/pull/4378/commits/227a3d907c0b8803f9db749f6992686fbadf2240
227a3d9https://github.com/python/cpython/pull/4378/commits/227a3d907c0b8803f9db749f6992686fbadf2240
https://github.com/nitishch
Used slice on the range objecthttps://github.com/python/cpython/pull/4378/commits/123ac17175c57a6d0fd0dc20e17dc22d40128c28
123ac17https://github.com/python/cpython/pull/4378/commits/123ac17175c57a6d0fd0dc20e17dc22d40128c28
https://github.com/nitishch
By mistake had the changes of doc branch in this branchhttps://github.com/python/cpython/pull/4378/commits/1682be8607492065ca81eb3f8716dd3d84e4a7ae
1682be8https://github.com/python/cpython/pull/4378/commits/1682be8607492065ca81eb3f8716dd3d84e4a7ae
https://github.com/nitishch
Corrected some indentation mistakeshttps://github.com/python/cpython/pull/4378/commits/3d539d3585aac4085cbacccc70caa411b576fc63
3d539d3https://github.com/python/cpython/pull/4378/commits/3d539d3585aac4085cbacccc70caa411b576fc63
https://github.com/nitishch
Some more indentation changeshttps://github.com/python/cpython/pull/4378/commits/4e0e468cb5409290752d5bdaf15e7c47080a85a1
4e0e468https://github.com/python/cpython/pull/4378/commits/4e0e468cb5409290752d5bdaf15e7c47080a85a1
https://github.com/nitishch
Previously didn't take care of decrefing. Corrected it nowhttps://github.com/python/cpython/pull/4378/commits/0519c74cda2ca1e2a9bf1d9465c33cdfb1be3d12
0519c74https://github.com/python/cpython/pull/4378/commits/0519c74cda2ca1e2a9bf1d9465c33cdfb1be3d12
https://github.com/nitishch
Added NEWS filehttps://github.com/python/cpython/pull/4378/commits/0c133b0536eb0773a50f05999df8eba9b353ccb1
0c133b0https://github.com/python/cpython/pull/4378/commits/0c133b0536eb0773a50f05999df8eba9b353ccb1
https://github.com/nitishch
Added formatting to the added news filehttps://github.com/python/cpython/pull/4378/commits/3678e20c7459c581681827fc27ef004596137a0c
3678e20https://github.com/python/cpython/pull/4378/commits/3678e20c7459c581681827fc27ef004596137a0c
https://github.com/nitishch
Some whitespace changes made by make patchcheckhttps://github.com/python/cpython/pull/4378/commits/b52e9e969e8db6458a7f0d6e510928c73e29ba5f
b52e9e9https://github.com/python/cpython/pull/4378/commits/b52e9e969e8db6458a7f0d6e510928c73e29ba5f
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 12, 2017https://github.com/python/cpython/pull/4378#event-1337558330
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
Nov 12, 2017https://github.com/python/cpython/pull/4378#event-1337558331
https://github.com/nitishch
Added an explaining commenthttps://github.com/python/cpython/pull/4378/commits/476c8c2e587a3d596999e6c1ca679441e6f15ab5
476c8c2https://github.com/python/cpython/pull/4378/commits/476c8c2e587a3d596999e6c1ca679441e6f15ab5
https://github.com/ktbarrett
ktbarretthttps://github.com/ktbarrett
Apr 14, 2021https://github.com/python/cpython/pull/4378#issuecomment-819666375
@nitishchhttps://github.com/nitishch
Please reload this pagehttps://github.com/python/cpython/pull/4378
https://github.com/shreyanavigyan
shreyanavigyanhttps://github.com/shreyanavigyan
Apr 14, 2021 https://github.com/python/cpython/pull/4378#pullrequestreview-635984202
View reviewed changes https://github.com/python/cpython/pull/4378/files/476c8c2e587a3d596999e6c1ca679441e6f15ab5
shreyanavigyanhttps://github.com/shreyanavigyan
https://github.com/python/cpython/pull/4378#pullrequestreview-635984202
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4378
Objects/rangeobject.chttps://github.com/python/cpython/pull/4378/files/476c8c2e587a3d596999e6c1ca679441e6f15ab5#diff-57cf7b657aa9de8cff0fe5dd08e43061fd5dae05dfd8446f99831fd1f7e0230d
shreyanavigyanhttps://github.com/shreyanavigyan
Apr 14, 2021https://github.com/python/cpython/pull/4378#discussion_r613513347
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4378
Objects/rangeobject.chttps://github.com/python/cpython/pull/4378/files/476c8c2e587a3d596999e6c1ca679441e6f15ab5#diff-57cf7b657aa9de8cff0fe5dd08e43061fd5dae05dfd8446f99831fd1f7e0230d
shreyanavigyanhttps://github.com/shreyanavigyan
Apr 14, 2021https://github.com/python/cpython/pull/4378#discussion_r613524760
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4378
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
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Apr 14, 2021https://github.com/python/cpython/pull/4378#event-4595459800
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/4378#event-6988863742
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 13, 2022https://github.com/python/cpython/pull/4378#issuecomment-1213605694
Please reload this pagehttps://github.com/python/cpython/pull/4378
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 13, 2022https://github.com/python/cpython/pull/4378#event-7182454638
https://github.com/pedropregueiro
pedropregueirohttps://github.com/pedropregueiro
Aug 25, 2022 https://github.com/python/cpython/pull/4378#ref-pullrequest-1351411886
GH-72384: Add support for start and stop on range.index() function #96286 https://github.com/python/cpython/pull/96286
https://github.com/python/cpython/pull/4378
vedgarhttps://github.com/python/cpython/pull/4378
Oct 30, 2022 https://github.com/python/cpython/pull/4378#ref-issue-1198959548
Add start and stop parameters to the range.index() ABC method #72384 https://github.com/python/cpython/issues/72384
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Oct 30, 2022https://github.com/python/cpython/pull/4378#issuecomment-1296329082
Please reload this pagehttps://github.com/python/cpython/pull/4378
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Oct 30, 2022https://github.com/python/cpython/pull/4378#event-7699627444
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%2F4378
https://github.com/shreyanavigyan
shreyanavigyan https://github.com/shreyanavigyan
https://github.com/python/cpython/pull/4378/files/476c8c2e587a3d596999e6c1ca679441e6f15ab5
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/python/cpython/pull/4378
https://github.com/nitishch
https://github.com/ktbarrett
https://github.com/iritkatriel
https://github.com/shreyanavigyan
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
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.