Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Change shutil.rmtree and os.walk to support very deep hierarchies #89727
: Fix os.walk RecursionError on deep trees
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
add unit test to ensure os.walk is not affect by recursion limit
Merge branch 'main' into iterative-os-walk
Merge branch 'main' into iterative-os-walk
move deque import inside os.walk
rename temp_recursion_limit to set_recursion_limit
Merge branch 'main' into iterative-os-walk
switch back to list instead of deque for os.walk stack
Apply suggestions from code review
test correct value in test_walk_above_recursion_limit
set islink and join before loop in os.walk
Merge branch 'main' into iterative-os-walk
gh-89727: Fix os.fwalk RecursionError on deep trees #100347
Merge branch 'main' into fastmock