René's URL Explorer Experiment


Title: Factor-out two substantially identical code blocks. by rhettinger · Pull Request #8219 · python/cpython · GitHub

Open Graph Title: Factor-out two substantially identical code blocks. by rhettinger · Pull Request #8219 · python/cpython

X Title: Factor-out two substantially identical code blocks. by rhettinger · Pull Request #8219 · python/cpython

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

Open Graph Description: Completes a small refactoring that was started long ago.

X Description: Completes a small refactoring that was started long ago.

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

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:9110308e-1414-84b5-b13f-3b024362c3b1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD2C8:1E68A5:1B84483:257C3AC:6A536FF1
html-safe-nonce8fc5d5e1e14f005e9e5f8f209c84c392285a285e98134ec067e010bf41c2670e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkM4OjFFNjhBNToxQjg0NDgzOjI1N0MzQUM6NkE1MzZGRjEiLCJ2aXNpdG9yX2lkIjoiNTQ3MzYxMTAwODIxMzkzMzkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7270e4040ebe42c85afa12d2550a9c8636a0007175cc44af0dc128f253527be3
hovercard-subject-tagpull_request:200305575
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/8219/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/06e9f81d72a77f90eb065110e93c838ed0d4c833241ec22799180a964c7e9b8b/python/cpython/pull/8219
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/06e9f81d72a77f90eb065110e93c838ed0d4c833241ec22799180a964c7e9b8b/python/cpython/pull/8219
og:image:altCompletes a small refactoring that was started long ago.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerhettinger
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/8219#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F8219
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%2F8219
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/8219
Reloadhttps://github.com/python/cpython/pull/8219
Reloadhttps://github.com/python/cpython/pull/8219
Please reload this pagehttps://github.com/python/cpython/pull/8219
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/8219
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
rhettingerhttps://github.com/rhettinger
python:masterhttps://github.com/python/cpython/tree/master
rhettinger:deque-factoredhttps://github.com/rhettinger/cpython/tree/deque-factored
Conversationhttps://github.com/python/cpython/pull/8219
Commits2 (2)https://github.com/python/cpython/pull/8219/commits
Checkshttps://github.com/python/cpython/pull/8219/checks
Files changedhttps://github.com/python/cpython/pull/8219/files
Factor-out two substantially identical code blocks.https://github.com/python/cpython/pull/8219#top
rhettingerhttps://github.com/rhettinger
python:masterhttps://github.com/python/cpython/tree/master
rhettinger:deque-factoredhttps://github.com/rhettinger/cpython/tree/deque-factored
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
Jul 10, 2018https://github.com/python/cpython/pull/8219#issue-339724373
Please reload this pagehttps://github.com/python/cpython/pull/8219
rhettingerhttps://github.com/rhettinger
July 10, 2018 02:18https://github.com/python/cpython/pull/8219#commits-pushed-f36ebb7
https://github.com/rhettinger
Fold extend()https://github.com/python/cpython/pull/8219/commits/f36ebb71e31b6dd4cd45bb0375d2bf03d4ba94ef
f36ebb7https://github.com/python/cpython/pull/8219/commits/f36ebb71e31b6dd4cd45bb0375d2bf03d4ba94ef
https://github.com/rhettinger
Fold extendleft()https://github.com/python/cpython/pull/8219/commits/fac78ae08fdc12502e3d327f39af14a0f305caf6
fac78aehttps://github.com/python/cpython/pull/8219/commits/fac78ae08fdc12502e3d327f39af14a0f305caf6
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
skip issue https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jul 10, 2018https://github.com/python/cpython/pull/8219#event-1724808139
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
serhiy-storchakahttps://github.com/serhiy-storchaka
July 10, 2018 07:27https://github.com/python/cpython/pull/8219#event-1724808155
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
Jul 10, 2018https://github.com/python/cpython/pull/8219#event-1724808222
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jul 10, 2018https://github.com/python/cpython/pull/8219#event-1724808229
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 10, 2018 https://github.com/python/cpython/pull/8219#pullrequestreview-135735964
View reviewed changes https://github.com/python/cpython/pull/8219/files/fac78ae08fdc12502e3d327f39af14a0f305caf6
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
66953f0https://github.com/python/cpython/commit/66953f0ec642bcc36b5c0739de6507e67598380b
Jul 10, 2018https://github.com/python/cpython/pull/8219#event-1725255103
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jul 10, 2018https://github.com/python/cpython/pull/8219#event-1725255170
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
July 10, 2018 11:17https://github.com/python/cpython/pull/8219#event-1725255291
CuriousLearnerhttps://github.com/CuriousLearner
Jul 14, 2018 https://github.com/python/cpython/pull/8219#ref-commit-11c1706
https://github.com/CuriousLearner
Merge branch 'master' into bitwise_docshttps://github.com/CuriousLearner/cpython/commit/11c17067cfc036b96b3981709c17044e416fcd7f
11c1706https://github.com/CuriousLearner/cpython/commit/11c17067cfc036b96b3981709c17044e416fcd7f
pythonGH-8274https://github.com/python/cpython/pull/8274
python#8271https://github.com/python/cpython/pull/8271
pythonGH-7924https://github.com/python/cpython/pull/7924
pythonGH-8267https://github.com/python/cpython/pull/8267
pythonGH-8261https://github.com/python/cpython/pull/8261
pythonGH-8222https://github.com/python/cpython/pull/8222
pythonGH-7887https://github.com/python/cpython/pull/7887
pythonGH-8192https://github.com/python/cpython/pull/8192
pythonGH-7114https://github.com/python/cpython/pull/7114
pythonGH-8245https://github.com/python/cpython/pull/8245
pythonGH-6856https://github.com/python/cpython/pull/6856
pythonGH-8230https://github.com/python/cpython/pull/8230
pythonGH-8238https://github.com/python/cpython/pull/8238
pythonGH-139https://github.com/python/cpython/pull/139
pythonGH-8236https://github.com/python/cpython/pull/8236
pythonGH-8038https://github.com/python/cpython/pull/8038
pythonGH-8231https://github.com/python/cpython/pull/8231
pythonGH-8022https://github.com/python/cpython/pull/8022
pythonGH-8219https://github.com/python/cpython/pull/8219
pythonGH-8091https://github.com/python/cpython/pull/8091
CuriousLearnerhttps://github.com/CuriousLearner
Jul 15, 2018 https://github.com/python/cpython/pull/8219#ref-commit-fdc3a3d
https://github.com/CuriousLearner
Merge branch 'master' into fix-issue8525https://github.com/CuriousLearner/cpython/commit/fdc3a3d11e0692acbe5d89c2e7682849d6beab91
fdc3a3dhttps://github.com/CuriousLearner/cpython/commit/fdc3a3d11e0692acbe5d89c2e7682849d6beab91
pythonGH-8274https://github.com/python/cpython/pull/8274
python#8271https://github.com/python/cpython/pull/8271
pythonGH-7924https://github.com/python/cpython/pull/7924
pythonGH-8267https://github.com/python/cpython/pull/8267
pythonGH-8261https://github.com/python/cpython/pull/8261
pythonGH-8222https://github.com/python/cpython/pull/8222
pythonGH-7887https://github.com/python/cpython/pull/7887
pythonGH-8192https://github.com/python/cpython/pull/8192
pythonGH-7114https://github.com/python/cpython/pull/7114
pythonGH-8245https://github.com/python/cpython/pull/8245
pythonGH-6856https://github.com/python/cpython/pull/6856
pythonGH-8230https://github.com/python/cpython/pull/8230
pythonGH-8238https://github.com/python/cpython/pull/8238
pythonGH-139https://github.com/python/cpython/pull/139
pythonGH-8236https://github.com/python/cpython/pull/8236
pythonGH-8038https://github.com/python/cpython/pull/8038
pythonGH-8231https://github.com/python/cpython/pull/8231
pythonGH-8022https://github.com/python/cpython/pull/8022
pythonGH-8219https://github.com/python/cpython/pull/8219
pythonGH-8091https://github.com/python/cpython/pull/8091
CuriousLearnerhttps://github.com/CuriousLearner
Jul 21, 2018 https://github.com/python/cpython/pull/8219#ref-commit-7b039a0
https://github.com/CuriousLearner
Merge branch 'master' of github.com:CuriousLearner/cpython into fix-i…https://github.com/CuriousLearner/cpython/commit/7b039a00b33fc4a33ff5df90a9884d524a2ff8dd
7b039a0https://github.com/CuriousLearner/cpython/commit/7b039a00b33fc4a33ff5df90a9884d524a2ff8dd
pythonGH-8274https://github.com/python/cpython/pull/8274
python#8271https://github.com/python/cpython/pull/8271
pythonGH-7924https://github.com/python/cpython/pull/7924
pythonGH-8267https://github.com/python/cpython/pull/8267
pythonGH-8261https://github.com/python/cpython/pull/8261
pythonGH-8222https://github.com/python/cpython/pull/8222
pythonGH-7887https://github.com/python/cpython/pull/7887
pythonGH-8192https://github.com/python/cpython/pull/8192
pythonGH-7114https://github.com/python/cpython/pull/7114
pythonGH-8245https://github.com/python/cpython/pull/8245
pythonGH-6856https://github.com/python/cpython/pull/6856
pythonGH-8230https://github.com/python/cpython/pull/8230
pythonGH-8238https://github.com/python/cpython/pull/8238
pythonGH-139https://github.com/python/cpython/pull/139
pythonGH-8236https://github.com/python/cpython/pull/8236
pythonGH-8038https://github.com/python/cpython/pull/8038
pythonGH-8231https://github.com/python/cpython/pull/8231
pythonGH-8022https://github.com/python/cpython/pull/8022
pythonGH-8219https://github.com/python/cpython/pull/8219
pythonGH-8091https://github.com/python/cpython/pull/8091
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%2F8219
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/8219/files/fac78ae08fdc12502e3d327f39af14a0f305caf6
skip issue https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/8219
https://github.com/rhettinger
https://github.com/serhiy-storchaka
https://github.com/the-knights-who-say-ni
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.