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

GH-125413: Move `pathlib.Path.copy()` implementation alongside `Path.info` by barneygale · Pull Request #129856 · python/cpython · GitHub

/ cpython Public

GH-125413: Move pathlib.Path.copy() implementation alongside Path.info - #129856

Merged
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-125413-move-copyreadwrite
Feb 9, 2025
Merged

GH-125413: Move pathlib.Path.copy() implementation alongside Path.info#129856
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-125413-move-copyreadwrite

Conversation

barneygale commented Feb 8, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Move pathlib's internal CopyReader, LocalCopyReader, CopyWriter and LocalCopyWriter classes into pathlib._os, where they can live alongside the low-level copying functions (copyfileobj() etc) and caching path query interface (PathInfo).

This sets the stage for merging LocalCopyReader into PathInfo. No change of behaviour; just moving some code around.

…`Path.info`

Move pathlib's private `CopyReader`, `LocalCopyReader`, `CopyWriter` and
`LocalCopyWriter` classes into `pathlib._os`, where they can live alongside
the low-level copying functions (`copyfileobj()` etc) and high-level path
querying interface (`PathInfo`).

This sets the stage for merging `LocalCopyReader` into `PathInfo`.
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.

1 participant


Back | FazBrowse Home | New Git URL