René's URL Explorer Experiment


Title: gh-89727: Improve os.walk complexity and speed by zmievsa · Pull Request #100671 · python/cpython · GitHub

Open Graph Title: gh-89727: Improve os.walk complexity and speed by zmievsa · Pull Request #100671 · python/cpython

X Title: gh-89727: Improve os.walk complexity and speed by zmievsa · Pull Request #100671 · python/cpython

Description: Use isinstance for checking the top of the stack in os.walk to simplify it and speed it up. Issue: Change shutil.rmtree and os.walk to support very deep hierarchies #89727 A small benchmark bel...

Open Graph Description: Use isinstance for checking the top of the stack in os.walk to simplify it and speed it up. Issue: Change shutil.rmtree and os.walk to support very deep hierarchies #89727 A small benchmark bel...

X Description: Use isinstance for checking the top of the stack in os.walk to simplify it and speed it up. Issue: Change shutil.rmtree and os.walk to support very deep hierarchies #89727 A small benchmark bel...

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

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:35435b74-ef4e-ace6-b3fc-1524bd9029df
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9C3C:31C581:B4B829:F68887:69693513
html-safe-nonce56ffbc2c34a528f3f47399ade7a27300c4b489cbd96e891ab4d04da088682afd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzNDOjMxQzU4MTpCNEI4Mjk6RjY4ODg3OjY5NjkzNTEzIiwidmlzaXRvcl9pZCI6IjI4MzA0OTc4OTc4MjYwMzkwNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf9764bd9f72f095e0daac3172d0d7c63e1de503e4eb39f2c016964af24f77c9e
hovercard-subject-tagpull_request:1182169198
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/100671/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d7f30f750c137f8c13a2bedf8664d8d4218cf726fe898736053150e31b16a849/python/cpython/pull/100671
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d7f30f750c137f8c13a2bedf8664d8d4218cf726fe898736053150e31b16a849/python/cpython/pull/100671
og:image:altUse isinstance for checking the top of the stack in os.walk to simplify it and speed it up. Issue: Change shutil.rmtree and os.walk to support very deep hierarchies #89727 A small benchmark bel...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezmievsa
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
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
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/100671#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100671
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%2F100671
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/100671
Reloadhttps://github.com/python/cpython/pull/100671
Reloadhttps://github.com/python/cpython/pull/100671
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/100671
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 2k 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/100671
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/100671#issue-comment-box
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
zmievsa:gh-89727/minor-os-walk-refactoringhttps://github.com/zmievsa/cpython/tree/gh-89727/minor-os-walk-refactoring
gh-89727: Improve os.walk complexity and speed https://github.com/python/cpython/pull/100671#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
zmievsa:gh-89727/minor-os-walk-refactoringhttps://github.com/zmievsa/cpython/tree/gh-89727/minor-os-walk-refactoring
Conversation 5 https://github.com/python/cpython/pull/100671
Commits 5 https://github.com/python/cpython/pull/100671/commits
Checks 0 https://github.com/python/cpython/pull/100671/checks
Files changed 2 https://github.com/python/cpython/pull/100671/files
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/zmievsa
zmievsahttps://github.com/zmievsa
Jan 1, 2023https://github.com/python/cpython/pull/100671#issue-1515902222
Change shutil.rmtree and os.walk to support very deep hierarchies #89727https://github.com/python/cpython/issues/89727
https://user-images.githubusercontent.com/17561586/210187800-a8a3572e-024b-4cef-b9e8-5484fcc22191.png
Please reload this pagehttps://github.com/python/cpython/pull/100671
https://github.com/zmievsa
pythongh-89727https://github.com/python/cpython/issues/89727
: Improve os.walk complexity and speedhttps://github.com/python/cpython/pull/100671/commits/4127cf401809d6631ca5a4c94ddb54155a87b66e
4127cf4https://github.com/python/cpython/pull/100671/commits/4127cf401809d6631ca5a4c94ddb54155a87b66e
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
Jan 1, 2023https://github.com/python/cpython/pull/100671#event-8134916553
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jan 1, 2023 https://github.com/python/cpython/pull/100671#ref-issue-1199067663
Change shutil.rmtree and os.walk to support very deep hierarchies #89727 https://github.com/python/cpython/issues/89727
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/100671/commits/5178f2428f25720c257dcad61596e9547f25c6c9
5178f24https://github.com/python/cpython/pull/100671/commits/5178f2428f25720c257dcad61596e9547f25c6c9
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Jan 2, 2023https://github.com/python/cpython/pull/100671#event-8134926278
zmievsahttps://github.com/zmievsa
January 2, 2023 04:24https://github.com/python/cpython/pull/100671#commits-pushed-c087697
https://github.com/zmievsa
Remove unnecessary whitespacehttps://github.com/python/cpython/pull/100671/commits/c08769700604247f1328b3e16bfa06abd90bcc38
c087697https://github.com/python/cpython/pull/100671/commits/c08769700604247f1328b3e16bfa06abd90bcc38
https://github.com/zmievsa
Merge branch 'https://github.com/python/cpython/pull/100671/commits/8164d3679e6bccc001a8b223ce46fabb5d03c319
pythongh-89727https://github.com/python/cpython/issues/89727
/minor-os-walk-refactoring' of github.com…https://github.com/python/cpython/pull/100671/commits/8164d3679e6bccc001a8b223ce46fabb5d03c319
8164d36https://github.com/python/cpython/pull/100671/commits/8164d3679e6bccc001a8b223ce46fabb5d03c319
pythongh-89727https://github.com/python/cpython/issues/89727
https://github.com/zmievsa
zmievsahttps://github.com/zmievsa
Jan 2, 2023https://github.com/python/cpython/pull/100671#issuecomment-1368578583
Please reload this pagehttps://github.com/python/cpython/pull/100671
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/100671
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
January 2, 2023 03:40https://github.com/python/cpython/pull/100671#event-8135273075
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jan 2, 2023 https://github.com/python/cpython/pull/100671#pullrequestreview-1233488379
View reviewed changes https://github.com/python/cpython/pull/100671/files/8164d3679e6bccc001a8b223ce46fabb5d03c319
Misc/NEWS.d/next/Library/2023-01-01-23-57-00.gh-issue-89727.ojedHN.rsthttps://github.com/python/cpython/pull/100671/files/8164d3679e6bccc001a8b223ce46fabb5d03c319#diff-f65bbe32d59089e4d483ec7421906c3ab480c7fbc0b6b65ab78300e85303b19a
Please reload this pagehttps://github.com/python/cpython/pull/100671
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jan 2, 2023https://github.com/python/cpython/pull/100671#issuecomment-1368634822
Please reload this pagehttps://github.com/python/cpython/pull/100671
https://github.com/Ovsyanka83
https://github.com/JelleZijlstra
Update Misc/NEWS.d/next/Library/2023-01-01-23-57-00.gh-issue-89727.oj…https://github.com/python/cpython/pull/100671/commits/69cc8474018752d4fb7aae4a0f56928d17057887
69cc847https://github.com/python/cpython/pull/100671/commits/69cc8474018752d4fb7aae4a0f56928d17057887
https://github.com/zmievsa
zmievsahttps://github.com/zmievsa
Jan 2, 2023https://github.com/python/cpython/pull/100671#issuecomment-1369013410
Please reload this pagehttps://github.com/python/cpython/pull/100671
https://user-images.githubusercontent.com/17561586/210248015-cb2423fa-b06a-4417-9c3b-99729d8346f2.png
Please reload this pagehttps://github.com/python/cpython/pull/100671
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jan 2, 2023 https://github.com/python/cpython/pull/100671#pullrequestreview-1233989640
View reviewed changes https://github.com/python/cpython/pull/100671/files/69cc8474018752d4fb7aae4a0f56928d17057887
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
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jan 2, 2023https://github.com/python/cpython/pull/100671#event-8139200141
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jan 2, 2023https://github.com/python/cpython/pull/100671#issuecomment-1369228632
Please reload this pagehttps://github.com/python/cpython/pull/100671
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
73097d9https://github.com/python/cpython/commit/73097d91a64620ae7f620705864b84234d85cc82
Jan 2, 2023https://github.com/python/cpython/pull/100671#event-8139202810
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
Jan 2, 2023https://github.com/python/cpython/pull/100671#event-8139202872
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%2F100671
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/100671/files/69cc8474018752d4fb7aae4a0f56928d17057887
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Please reload this pagehttps://github.com/python/cpython/pull/100671
https://github.com/zmievsa
https://github.com/JelleZijlstra
https://github.com/bedevere-bot
https://github.com/AlexWaygood
https://github.com/Ovsyanka83
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.