Skip to content

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Feb 8, 2025

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`.
@barneygale barneygale merged commit c88dacb into python:main Feb 9, 2025
44 checks passed
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