Title: [3.13] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (GH-119634) by miss-islington · Pull Request #119748 · python/cpython · GitHub
Open Graph Title: [3.13] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (GH-119634) by miss-islington · Pull Request #119748 · python/cpython
X Title: [3.13] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (GH-119634) by miss-islington · Pull Request #119748 · python/cpython
Description: Make shutil._rmtree_unsafe() call os.walk(), which is implemented without recursion. shutil._rmtree_safe_fd() is not affected and can still raise a recursion error. (cherry picked from commit a150679) Co-authored-by: Barney Gale barney.gale@gmail.com Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com Issue: gh-89727
Open Graph Description: Make shutil._rmtree_unsafe() call os.walk(), which is implemented without recursion. shutil._rmtree_safe_fd() is not affected and can still raise a recursion error. (cherry picked from commit a1506...
X Description: Make shutil._rmtree_unsafe() call os.walk(), which is implemented without recursion. shutil._rmtree_safe_fd() is not affected and can still raise a recursion error. (cherry picked from commit a1506...
Opengraph URL: https://github.com/python/cpython/pull/119748
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:afc914a7-ff85-abea-c8e1-29b5a765de9c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5BE:204531:EEAE98:1459BCB:69693DEA |
| html-safe-nonce | 793cb1f25e9acdf000d497cd5659f61163ec3fa3cc6a19504339dc8b6dfbe332 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUJFOjIwNDUzMTpFRUFFOTg6MTQ1OUJDQjo2OTY5M0RFQSIsInZpc2l0b3JfaWQiOiI2OTU5ODU0MzY4NzQzNTcwOTIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2841228a262b20b8b7d17f45cbf716adf67d3529780e01f2cfd08096ee00ba6f |
| hovercard-subject-tag | pull_request:1894671865 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/119748/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | Make shutil._rmtree_unsafe() call os.walk(), which is implemented without recursion. shutil._rmtree_safe_fd() is not affected and can still raise a recursion error. (cherry picked from commit a1506... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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 |
Links:
Viewport: width=device-width