-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-90385: Add pathlib.Path.walk()
method
#92517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
miss-islington
merged 39 commits into
python:main
from
zmievsa:bpo-46227/add-pathlib.Path.walk-method
Jul 22, 2022
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
ac622b7
Add Path.walk and Path.walk_bottom_up methods
zmievsa 14f031a
Fix errors in Path.walk docstrings and add caching of entries
zmievsa b203517
Merge branch 'main' into bpo-46227/add-pathlib.Path.walk-method
Ovsyanka83 3ad60a9
Refactor symlink handling
zmievsa 889d7fe
Merge branch 'bpo-46227/add-pathlib.Path.walk-method' of github.com:O…
zmievsa 2f98823
Add Path.walk docs and unite Path.walk interfaces
zmievsa 513030a
Remove Path.walk_bottom_up definition
zmievsa 5fdd72e
📜🤖 Added by blurb_it.
blurb-it[bot] 452f24e
Add Path.walk tests
zmievsa 3702a12
Make Path.walk variable naming consistent
zmievsa fabc925
Remove redundant FIXME
zmievsa b387b54
Minor Path.walk docs and tests fixes
zmievsa 097fbbf
Merge branch 'main' into bpo-46227/add-pathlib.Path.walk-method
merwok 76fadfc
Update Doc/library/pathlib.rst
Ovsyanka83 0c19871
Update Doc/library/pathlib.rst
Ovsyanka83 50b4a2b
Update Doc/library/pathlib.rst
Ovsyanka83 cade3e9
Update Doc/library/pathlib.rst
Ovsyanka83 b32627c
Update Doc/library/pathlib.rst
Ovsyanka83 d1a0833
Update Doc/library/pathlib.rst
8000
Ovsyanka83 e367f1f
Update Doc/library/pathlib.rst
Ovsyanka83 bf8b0eb
Fix 'no blank lines' error
zmievsa d8667c7
Apply suggestions from code review
Ovsyanka83 4509797
More code review fixes for Path.walk
zmievsa 20a73ed
Merge branch 'main' into bpo-46227/add-pathlib.Path.walk-method
Ovsyanka83 e61d57b
Merge branch 'main' into bpo-46227/add-pathlib.Path.walk-method
brettcannon 15d96b9
Apply suggestions from code review
Ovsyanka83 92e1a7a
Apply suggestions from code review
Ovsyanka83 c509da3
Merge branch 'main' into bpo-46227/add-pathlib.Path.walk-method
Ovsyanka83 cfa730d
Code review fixes
zmievsa 7aec96d
Clarify pathlib.Path.walk() error handling
zmievsa 38fe1e5
Apply suggestions from code review
Ovsyanka83 eef3ba3
Code review fixes
zmievsa 4dfdcd7
Merge branch 'bpo-46227/add-pathlib.Path.walk-method' of github.com:O…
zmievsa 8fe3b62
Apply suggestions from code review
Ovsyanka83 e8ea6ba
Code review fixes
zmievsa 79cf8fd
Remove backticks around True and False
zmievsa bed850e
Apply suggestions from code review
Ovsyanka83 203ec3d
Apply suggestions from code review
zmievsa eef6054
Apply suggestions from code review
brettcannon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Library/2022-05-10-16-30-40.gh-issue-90385.1_wBRQ.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add :meth:`pathlib.Path.walk` as an alternative to :func:`os.walk`. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.