Title: GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees by barneygale · Pull Request #119634 · python/cpython · GitHub
Open Graph Title: GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees by barneygale · Pull Request #119634 · python/cpython
X Title: GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees by barneygale · Pull Request #119634 · 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. 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. Issue: gh-89727
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. Issue: gh-89727
Opengraph URL: https://github.com/python/cpython/pull/119634
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:93f0239d-74f9-506b-2002-85761a62e5fc |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D124:4B981:225A5D3:2FF4F9C:696940DA |
| html-safe-nonce | 6f87681848eabe70979ff5d765f81ced65ca6c01506e1b4302c4ad95047b51ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTI0OjRCOTgxOjIyNUE1RDM6MkZGNEY5Qzo2OTY5NDBEQSIsInZpc2l0b3JfaWQiOiI0NTgwNjYyMDE1NDIyOTcyMTIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0456f37df280203f1e5f69ecacd1ae320a8d35bb81df8091238abb371f46c79d |
| hovercard-subject-tag | pull_request:1890715473 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/119634/checks |
| 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. Issue: gh-89727 |
| og:site_name | GitHub |
| og:type | object |
| 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 full-width full-width-p-0 |
| 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 |
Links:
Viewport: width=device-width