cpython/Lib/pathlib
Barney Gale f20b151a1c
pathlib ABCs: add _raw_path property (#113976)
It's wrong for the `PurePathBase` methods to rely so much on `__str__()`.
Instead, they should treat the raw path(s) as opaque objects and leave the
details to `pathmod`.

This commit adds a `PurePathBase._raw_path` property and uses it through
many of the other ABC methods. These methods are all redefined in
`PurePath` and `Path`, so this has no effect on the public classes.
2024-01-13 08:03:21 +00:00
..
__init__.py pathlib ABCs: add _raw_path property (#113976) 2024-01-13 08:03:21 +00:00
_abc.py pathlib ABCs: add _raw_path property (#113976) 2024-01-13 08:03:21 +00:00