summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-01-13 08:03:21 (GMT)
committerGitHub <noreply@github.com>2024-01-13 08:03:21 (GMT)
commitf20b151a1c49602282a0e80ffb92f68c28c04abd (patch)
treea6297cc95d132dda30a1c961cd608a2ffdbb81f4 /Python/bltinmodule.c
parente4ff131e01184b68d868cfd241a03f8b7d2e0ff9 (diff)
downloadcpython-f20b151a1c49602282a0e80ffb92f68c28c04abd.zip
cpython-f20b151a1c49602282a0e80ffb92f68c28c04abd.tar.gz
cpython-f20b151a1c49602282a0e80ffb92f68c28c04abd.tar.bz2
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.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions