Revision f20b151a1c49602282a0e80ffb92f68c28c04abd authored by Barney Gale on 13 January 2024, 08:03:21 UTC, committed by GitHub on 13 January 2024, 08:03:21 UTC
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.
1 parent e4ff131
Raw File
.mailmap
# This file sets the canonical name for contributors to the repository.
# Documentation: https://git-scm.com/docs/gitmailmap
Amethyst Reese <amethyst@n7.gg> <john@noswap.com>
back to top