Repository navigation
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 38 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
14f031a
Fix errors in Path.walk docstrings and add caching of entries
b203517
Merge branch 'main' into bpo-46227/add-pathlib.Path.walk-method
3ad60a9
Refactor symlink handling
889d7fe
Merge branch 'bpo-46227/add-pathlib.Path.walk-method' of github.com:O…
2f98823
Add Path.walk docs and unite Path.walk interfaces
513030a
Remove Path.walk_bottom_up definition
5fdd72e
📜🤖 Added by blurb_it.
452f24e
Add Path.walk tests
3702a12
Make Path.walk variable naming consistent
fabc925
Remove redundant FIXME
b387b54
Minor Path.walk docs and tests fixes
097fbbf
Merge branch 'main' into bpo-46227/add-pathlib.Path.walk-method
76fadfc
Update Doc/library/pathlib.rst
0c19871
Update Doc/library/pathlib.rst
50b4a2b
Update Doc/library/pathlib.rst
cade3e9
Update Doc/library/pathlib.rst
b32627c
Update Doc/library/pathlib.rst
d1a0833
Update Doc/library/pathlib.rst
e367f1f
Update Doc/library/pathlib.rst
bf8b0eb
Fix 'no blank lines' error
d8667c7
Apply suggestions from code review
4509797
More code review fixes for Path.walk
20a73ed
Merge branch 'main' into bpo-46227/add-pathlib.Path.walk-method
e61d57b
Merge branch 'main' into bpo-46227/add-pathlib.Path.walk-method
15d96b9
Apply suggestions from code review
92e1a7a
Apply suggestions from code review
c509da3
Merge branch 'main' into bpo-46227/add-pathlib.Path.walk-method
cfa730d
Code review fixes
7aec96d
Clarify pathlib.Path.walk() error handling
38fe1e5
Apply suggestions from code review
eef3ba3
Code review fixes
4dfdcd7
Merge branch 'bpo-46227/add-pathlib.Path.walk-method' of github.com:O…
8fe3b62
Apply suggestions from code review
e8ea6ba
Code review fixes
79cf8fd
Remove backticks around True and False
bed850e
Apply suggestions from code review
203ec3d
Apply suggestions from code review
eef6054
Apply suggestions from code review
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.