Title: [3.12] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (GH-119634) by barneygale · Pull Request #119749 · python/cpython · GitHub
Open Graph Title: [3.12] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (GH-119634) by barneygale · Pull Request #119749 · python/cpython
X Title: [3.12] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (GH-119634) by barneygale · Pull Request #119749 · 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. Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com. (cherry picked from commit a150679) 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. Co-authored-by: Jelle Zijlstra j...
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. Co-authored-by: Jelle Zijlstra j...
Opengraph URL: https://github.com/python/cpython/pull/119749
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9d5e11b1-4ee2-15f1-bfcb-401e71b2a3c7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E0AE:2F5B11:9E93D:D767F:6969D1FF |
| html-safe-nonce | 32e82545b9f779ae0a56c57ffd245f384824026a0c6a2690bc73f80636588476 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEFFOjJGNUIxMTo5RTkzRDpENzY3Rjo2OTY5RDFGRiIsInZpc2l0b3JfaWQiOiIxNTYyNzkyMzM1NjcxNjc3NDM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6ca5627085b990e9dfb19ab078ac531c4346c2f31982b1c2f6c4e962cd326c03 |
| hovercard-subject-tag | pull_request:1894686901 |
| 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/119749/files |
| twitter:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/960340?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. Co-authored-by: Jelle Zijlstra j... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width