cpython/Lib/pathlib
Barney Gale 8d9f52a7be
GH-127807: pathlib ABCs: move private copying methods to dedicated class (#127810)
Move 9 private `PathBase` attributes and methods into a new `CopyWorker`
class. Change `PathBase.copy` from a method to a `CopyWorker` instance.

The methods remain private in the `CopyWorker` class. In future we might
make some/all of them public so that user subclasses of `PathBase` can
customize the copying process (in particular reading/writing of metadata,)
but we'd need to make `PathBase` public first.
2024-12-22 02:22:08 +00:00
..
__init__.py GH-127807: pathlib ABCs: remove PathBase._unsupported_msg() (#127855) 2024-12-12 17:39:24 +00:00
_abc.py GH-127807: pathlib ABCs: move private copying methods to dedicated class (#127810) 2024-12-22 02:22:08 +00:00
_local.py GH-127807: pathlib ABCs: move private copying methods to dedicated class (#127810) 2024-12-22 02:22:08 +00:00
_os.py GH-127807: pathlib ABCs: move private copying methods to dedicated class (#127810) 2024-12-22 02:22:08 +00:00
_types.py GH-127807: pathlib ABCs: remove PurePathBase._raw_paths (#127883) 2024-12-22 01:17:59 +00:00