Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 29, 2024

For silly reasons, pathlib's generic implementation of walk() currently
resides in glob._Globber. This commit moves it into
pathlib._abc.PathBase.walk() where it really belongs, and makes
pathlib.Path.walk() call os.walk().
(cherry picked from commit 7ff61f5)

Co-authored-by: Barney Gale [email protected]

…ythonGH-119573)

For silly reasons, pathlib's generic implementation of `walk()` currently
resides in `glob._Globber`. This commit moves it into
`pathlib._abc.PathBase.walk()` where it really belongs, and makes
`pathlib.Path.walk()` call `os.walk()`.
(cherry picked from commit 7ff61f5)

Co-authored-by: Barney Gale <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants