FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] GH-119169: Implement `pathlib.Path.walk()` using `os.walk()` (GH-119573) by miss-islington · Pull Request #119750 · python/cpython · GitHub

/ cpython Public

[3.13] GH-119169: Implement pathlib.Path.walk() using os.walk() (GH-119573) - #119750

Merged
barneygale merged 1 commit into
python:3.13from
miss-islington:backport-7ff61f5-3.13
May 29, 2024
Merged

[3.13] GH-119169: Implement pathlib.Path.walk() using os.walk() (GH-119573)#119750
barneygale merged 1 commit into
python:3.13from
miss-islington:backport-7ff61f5-3.13

Conversation

miss-islington commented May 29, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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 barney.gale@gmail.com

…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 <barney.gale@gmail.com>
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
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


Back | FazBrowse Home | New Git URL