| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:49e2631b-7ab1-ce96-d2fe-dda3f2b89391 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BFE6:36A82:BAB590:FEDCAD:6969360B |
| html-safe-nonce | 3c3ce917716a5d42deb206a72119d1bd5d8f1bf98ac629b864cd4ebf7102aeb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkU2OjM2QTgyOkJBQjU5MDpGRURDQUQ6Njk2OTM2MEIiLCJ2aXNpdG9yX2lkIjoiMjQzOTk0MTg2MTYxNDAzNDAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dbf760efc672edae2aadbd60c1a4a64c8c0f3dd30264798574dd463df840a1c2 |
| hovercard-subject-tag | pull_request:1298513034 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/103164/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/be711178f637bf7a7b8cc0ced7d242d8004c300d9154498b1720e1f76a07ec29/python/cpython/pull/103164 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be711178f637bf7a7b8cc0ced7d242d8004c300d9154498b1720e1f76a07ec29/python/cpython/pull/103164 |
| og:image:alt | Add a follow_junctions argument to pathlib.Path.walk(). When set to false, directory junctions are treated as files.
Add an _fwalk() method to pathlib.Path, similar to os.fwalk() except in its trea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | barneygale |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/103164#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103164 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F103164 |
|
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 |
| Reload | https://github.com/python/cpython/pull/103164 |
| Reload | https://github.com/python/cpython/pull/103164 |
| Reload | https://github.com/python/cpython/pull/103164 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/103164 |
|
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 page | https://github.com/python/cpython/pull/103164 |
|
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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/103164#issue-comment-box |
| barneygale | https://github.com/barneygale |
| python:main | https://github.com/python/cpython/tree/main |
| barneygale:pathlib-fwalk | https://github.com/barneygale/cpython/tree/pathlib-fwalk |
|
[WIP] GH-89727: Fix shutil.rmtree() recursion error on deep trees.
| https://github.com/python/cpython/pull/103164#top |
| barneygale | https://github.com/barneygale |
| python:main | https://github.com/python/cpython/tree/main |
| barneygale:pathlib-fwalk | https://github.com/barneygale/cpython/tree/pathlib-fwalk |
|
Conversation
4
| https://github.com/python/cpython/pull/103164 |
|
Commits
27
| https://github.com/python/cpython/pull/103164/commits |
|
Checks
0
| https://github.com/python/cpython/pull/103164/checks |
|
Files changed
| https://github.com/python/cpython/pull/103164/files |
| Please reload this page | https://github.com/python/cpython/pull/103164 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103164#issue-1650232309 |
| Please reload this page | https://github.com/python/cpython/pull/103164 |
| Change shutil.rmtree and os.walk to support very deep hierarchies #89727 | https://github.com/python/cpython/issues/89727 |
| Please reload this page | https://github.com/python/cpython/pull/103164 |
|
| https://github.com/barneygale |
| pythonGH-89727 | https://github.com/python/cpython/issues/89727 |
| : Fix | https://github.com/python/cpython/pull/103164/commits/17f02bbe06fc43e20dc706f66232cf9f1b5116cd |
| shutil.rmtree() | https://github.com/python/cpython/pull/103164/commits/17f02bbe06fc43e20dc706f66232cf9f1b5116cd |
| recursion error on deep trees. | https://github.com/python/cpython/pull/103164/commits/17f02bbe06fc43e20dc706f66232cf9f1b5116cd |
| 17f02bb | https://github.com/python/cpython/pull/103164/commits/17f02bbe06fc43e20dc706f66232cf9f1b5116cd |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
Apr 1, 2023
| https://github.com/python/cpython/pull/103164#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/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103164#event-8902959291 |
| barneygale | https://github.com/barneygale |
| April 1, 2023 02:40 | https://github.com/python/cpython/pull/103164#commits-pushed-48dc5db |
|
| https://github.com/barneygale |
| Delay urllib import | https://github.com/python/cpython/pull/103164/commits/48dc5db406b88d0b00448903a2ceb36f279676cd |
| 48dc5db | https://github.com/python/cpython/pull/103164/commits/48dc5db406b88d0b00448903a2ceb36f279676cd |
|
| https://github.com/barneygale |
| Fix up filenames in exceptions | https://github.com/python/cpython/pull/103164/commits/6e92b2728458bb7fe2154cea9872d2c640cef18f |
| 6e92b27 | https://github.com/python/cpython/pull/103164/commits/6e92b2728458bb7fe2154cea9872d2c640cef18f |
|
| https://github.com/barneygale |
| Restore shutil._rmtree_islink() | https://github.com/python/cpython/pull/103164/commits/c042220d5a61e21c6f9750505deb5816f3bd2549 |
| c042220 | https://github.com/python/cpython/pull/103164/commits/c042220d5a61e21c6f9750505deb5816f3bd2549 |
|
| https://github.com/barneygale |
| Tidy up exception handling | https://github.com/python/cpython/pull/103164/commits/e268e89a2c95dcc1a011bdbcb405c3de9dfc456f |
| e268e89 | https://github.com/python/cpython/pull/103164/commits/e268e89a2c95dcc1a011bdbcb405c3de9dfc456f |
|
| https://github.com/barneygale |
| Better compatibility with shutil tests. | https://github.com/python/cpython/pull/103164/commits/3f40cb0f7b6d7315fb539019af46ee2eccd11043 |
| 3f40cb0 | https://github.com/python/cpython/pull/103164/commits/3f40cb0f7b6d7315fb539019af46ee2eccd11043 |
|
| https://github.com/barneygale |
| Move main implementation into pathlib | https://github.com/python/cpython/pull/103164/commits/b59bda88166b113ab5b46c776cba2e4dbe5b0f93 |
| b59bda8 | https://github.com/python/cpython/pull/103164/commits/b59bda88166b113ab5b46c776cba2e4dbe5b0f93 |
|
| https://github.com/barneygale |
| Make _fwalk() private, tidy up naming. | https://github.com/python/cpython/pull/103164/commits/c1743769f88a9d0d87585753906c4146d83aba60 |
| c174376 | https://github.com/python/cpython/pull/103164/commits/c1743769f88a9d0d87585753906c4146d83aba60 |
|
| https://github.com/barneygale |
| Fix tests | https://github.com/python/cpython/pull/103164/commits/0e8d8e613e96ef617ee305bd0c657788190257db |
| 0e8d8e6 | https://github.com/python/cpython/pull/103164/commits/0e8d8e613e96ef617ee305bd0c657788190257db |
|
| https://github.com/barneygale |
| Fix missing filename in exception, tidy up more naming. | https://github.com/python/cpython/pull/103164/commits/fea58ab6d6f59f371dee6e1a9bac745ddc61946c |
| fea58ab | https://github.com/python/cpython/pull/103164/commits/fea58ab6d6f59f371dee6e1a9bac745ddc61946c |
|
| https://github.com/barneygale |
| More cleanup | https://github.com/python/cpython/pull/103164/commits/bff0f5e2bd73991628ceb0ef7835b13398340a47 |
| bff0f5e | https://github.com/python/cpython/pull/103164/commits/bff0f5e2bd73991628ceb0ef7835b13398340a47 |
|
| https://github.com/barneygale |
| Even more tidy-up | https://github.com/python/cpython/pull/103164/commits/3b216840cf5e8b407a919564ab6c0ae3b30a4cc3 |
| 3b21684 | https://github.com/python/cpython/pull/103164/commits/3b216840cf5e8b407a919564ab6c0ae3b30a4cc3 |
|
| https://github.com/barneygale |
| Reduce diff a bit | https://github.com/python/cpython/pull/103164/commits/5abee55c375aa568b9e907dfe04ccbc92cfc0f0a |
| 5abee55 | https://github.com/python/cpython/pull/103164/commits/5abee55c375aa568b9e907dfe04ccbc92cfc0f0a |
|
| https://github.com/barneygale |
| Performance improvements | https://github.com/python/cpython/pull/103164/commits/57173d93ceffd1e9de0e008dbb71e9d0a17c3cee |
| 57173d9 | https://github.com/python/cpython/pull/103164/commits/57173d93ceffd1e9de0e008dbb71e9d0a17c3cee |
|
| https://github.com/barneygale |
| Simplify rmtree (h/t eryksun) | https://github.com/python/cpython/pull/103164/commits/58070d9a664b9370c4151c1d5fcabb6f52f3fe22 |
| 58070d9 | https://github.com/python/cpython/pull/103164/commits/58070d9a664b9370c4151c1d5fcabb6f52f3fe22 |
|
| https://github.com/barneygale |
| More performance tweaks | https://github.com/python/cpython/pull/103164/commits/d61baa13ae0f3d88c7478ea9c66d588e94fd5955 |
| d61baa1 | https://github.com/python/cpython/pull/103164/commits/d61baa13ae0f3d88c7478ea9c66d588e94fd5955 |
|
| https://github.com/barneygale |
| Make error._func private, as it's only intended for shutil.rmtree() | https://github.com/python/cpython/pull/103164/commits/e983dd7f83f3e9770f1a5f0c305ce11ddf97d0fc |
| e983dd7 | https://github.com/python/cpython/pull/103164/commits/e983dd7f83f3e9770f1a5f0c305ce11ddf97d0fc |
|
| https://github.com/barneygale |
| Improve tests | https://github.com/python/cpython/pull/103164/commits/5387d32135362734128e7948592de64b6a1e7f09 |
| 5387d32 | https://github.com/python/cpython/pull/103164/commits/5387d32135362734128e7948592de64b6a1e7f09 |
|
| https://github.com/barneygale |
| Improve performance | https://github.com/python/cpython/pull/103164/commits/75541fbf6467debd1c41f7829b7f6bbdf4b099e1 |
| 75541fb | https://github.com/python/cpython/pull/103164/commits/75541fbf6467debd1c41f7829b7f6bbdf4b099e1 |
|
| https://github.com/barneygale |
| Merge branch 'main' into pathlib-fwalk | https://github.com/python/cpython/pull/103164/commits/698db60c9ab6a69d558dd00f53c95a41ee21ec0d |
| 698db60 | https://github.com/python/cpython/pull/103164/commits/698db60c9ab6a69d558dd00f53c95a41ee21ec0d |
|
| https://github.com/barneygale |
| Supply relative paths to rmdir() in fd-based walk. | https://github.com/python/cpython/pull/103164/commits/74cdd6c1ddd97f02d8960ef74ff95ecccda3b71f |
| 74cdd6c | https://github.com/python/cpython/pull/103164/commits/74cdd6c1ddd97f02d8960ef74ff95ecccda3b71f |
|
| https://github.com/barneygale |
| Handle rmdir() and unlink() not accepting dir_fd | https://github.com/python/cpython/pull/103164/commits/c17d07c2d9aadfcc541849c14d76fa5b55f5f19b |
| c17d07c | https://github.com/python/cpython/pull/103164/commits/c17d07c2d9aadfcc541849c14d76fa5b55f5f19b |
|
| https://github.com/barneygale |
| Move rmtree() implementation back into shutil. | https://github.com/python/cpython/pull/103164/commits/b4f120c952b2e45bb84c6ed0d3ebddec88431806 |
| b4f120c | https://github.com/python/cpython/pull/103164/commits/b4f120c952b2e45bb84c6ed0d3ebddec88431806 |
|
| https://github.com/barneygale |
| Restore missing dir_fd check | https://github.com/python/cpython/pull/103164/commits/e856ccb910afeed2ae6289e49ffbe29bbb5fe327 |
| e856ccb | https://github.com/python/cpython/pull/103164/commits/e856ccb910afeed2ae6289e49ffbe29bbb5fe327 |
|
| https://github.com/barneygale |
| Remove unnecessary change to test | https://github.com/python/cpython/pull/103164/commits/d1e349ca002759cf63a0a11df08aad301f695b08 |
| d1e349c | https://github.com/python/cpython/pull/103164/commits/d1e349ca002759cf63a0a11df08aad301f695b08 |
|
| https://github.com/barneygale |
| Reduce memory usage a bit. | https://github.com/python/cpython/pull/103164/commits/63e55e1ff4fa80a837f118bd42a36651a5ad8388 |
| 63e55e1 | https://github.com/python/cpython/pull/103164/commits/63e55e1ff4fa80a837f118bd42a36651a5ad8388 |
|
| https://github.com/barneygale |
| Reduce diff | https://github.com/python/cpython/pull/103164/commits/f7c53525a10898574ff61f271a99d497805880c5 |
| f7c5352 | https://github.com/python/cpython/pull/103164/commits/f7c53525a10898574ff61f271a99d497805880c5 |
| https://github.com/arhadthedev |
| arhadthedev | https://github.com/arhadthedev |
|
Apr 12, 2023
| https://github.com/python/cpython/pull/103164#pullrequestreview-1381807984 |
|
View reviewed changes
| https://github.com/python/cpython/pull/103164/files/f7c53525a10898574ff61f271a99d497805880c5 |
| Lib/shutil.py | https://github.com/python/cpython/pull/103164/files/b4f120c952b2e45bb84c6ed0d3ebddec88431806..e856ccb910afeed2ae6289e49ffbe29bbb5fe327#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
| Please reload this page | https://github.com/python/cpython/pull/103164 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Nov 22, 2023 | https://github.com/python/cpython/pull/103164#issuecomment-1823334973 |
| #110109 | https://github.com/python/cpython/issues/110109 |
| Please reload this page | https://github.com/python/cpython/pull/103164 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Nov 22, 2023 | https://github.com/python/cpython/pull/103164#event-11040224385 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103164 |
|
| https://github.com/arhadthedev |
|
arhadthedev
| https://github.com/arhadthedev |
|
| https://github.com/python/cpython/pull/103164/files/e856ccb910afeed2ae6289e49ffbe29bbb5fe327 |
|
| https://github.com/giampaolo |
|
giampaolo
| https://github.com/giampaolo |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Please reload this page | https://github.com/python/cpython/pull/103164 |
|
| https://github.com/barneygale |
|
| https://github.com/arhadthedev |
|
| https://github.com/bedevere-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |