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
File | Mode | Size |
---|---|---|
.azure-pipelines | ||
.devcontainer | ||
.github | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
.coveragerc | -rw-r--r-- | 526 bytes |
.editorconfig | -rw-r--r-- | 206 bytes |
.gitattributes | -rw-r--r-- | 3.7 KB |
.gitignore | -rw-r--r-- | 2.7 KB |
.mailmap | -rw-r--r-- | 175 bytes |
.pre-commit-config.yaml | -rw-r--r-- | 1018 bytes |
.readthedocs.yml | -rw-r--r-- | 1014 bytes |
LICENSE | -rw-r--r-- | 13.6 KB |
Makefile.pre.in | -rw-r--r-- | 108.1 KB |
README.rst | -rw-r--r-- | 9.0 KB |
aclocal.m4 | -rw-r--r-- | 21.5 KB |
config.guess | -rwxr-xr-x | 48.2 KB |
config.sub | -rwxr-xr-x | 34.4 KB |
configure | -rwxr-xr-x | 836.5 KB |
configure.ac | -rw-r--r-- | 227.7 KB |
install-sh | -rwxr-xr-x | 15.0 KB |
pyconfig.h.in | -rw-r--r-- | 52.6 KB |
Computing file changes ...