Title: [3.12] GH-89727: Fix `shutil.rmtree()` recursion error on deep trees (GH-119808) by barneygale · Pull Request #119919 · python/cpython · GitHub
Open Graph Title: [3.12] GH-89727: Fix `shutil.rmtree()` recursion error on deep trees (GH-119808) by barneygale · Pull Request #119919 · python/cpython
X Title: [3.12] GH-89727: Fix `shutil.rmtree()` recursion error on deep trees (GH-119808) by barneygale · Pull Request #119919 · python/cpython
Description: Implement shutil._rmtree_safe_fd() using a list as a stack to avoid emitting recursion errors on deeply nested trees. shutil._rmtree_unsafe() was fixed in a150679. (cherry picked from commit 53b1981) Issue: gh-89727
Open Graph Description: Implement shutil._rmtree_safe_fd() using a list as a stack to avoid emitting recursion errors on deeply nested trees. shutil._rmtree_unsafe() was fixed in a150679. (cherry picked from commit 53b198...
X Description: Implement shutil._rmtree_safe_fd() using a list as a stack to avoid emitting recursion errors on deeply nested trees. shutil._rmtree_unsafe() was fixed in a150679. (cherry picked from commit 53b198...
Opengraph URL: https://github.com/python/cpython/pull/119919
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:31fe965a-eb19-8b67-1ba7-83b90d178512 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B8B2:1D9151:AE7D28:E7D2BE:696982B1 |
| html-safe-nonce | faf3d231d0e1d7d454c7091ec8baac0a29f9377b42f3fedd0defe90b5aa175e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEIyOjFEOTE1MTpBRTdEMjg6RTdEMkJFOjY5Njk4MkIxIiwidmlzaXRvcl9pZCI6Ijg2NTY4NTI4ODE0Nzk2NjQzMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b8bb3a9fa137a6f6e72fcd22fcec9d080c3cc0dc05f62eaee684beeaa18de427 |
| hovercard-subject-tag | pull_request:1899239263 |
| 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/119919/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 | Implement shutil._rmtree_safe_fd() using a list as a stack to avoid emitting recursion errors on deeply nested trees. shutil._rmtree_unsafe() was fixed in a150679. (cherry picked from commit 53b198... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 533e7cac596c452090972c1150d587fd0b36531b8dc4e8bbfe4ab694aca02408 |
| 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 | 63d27af10eea2ccab520b162530cf6c7b739e767 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width