summaryrefslogtreecommitdiffstats
path: root/Tools/wasm
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-12-09 18:31:22 (GMT)
committerGitHub <noreply@github.com>2024-12-09 18:31:22 (GMT)
commit5c89adf385aaaca97c2ee9074f8b1fda0f57ad26 (patch)
tree21fac62c4e6ca6f0e2e4223ca16b680921261760 /Tools/wasm
parente85f2f1703e0f79cfd0d0e3010190b71c0eb18da (diff)
downloadcpython-5c89adf385aaaca97c2ee9074f8b1fda0f57ad26.zip
cpython-5c89adf385aaaca97c2ee9074f8b1fda0f57ad26.tar.gz
cpython-5c89adf385aaaca97c2ee9074f8b1fda0f57ad26.tar.bz2
GH-127456: pathlib ABCs: add protocol for path parser (#127494)
Change the default value of `PurePathBase.parser` from `ParserBase()` to `posixpath`. As a result, user subclasses of `PurePathBase` and `PathBase` use POSIX path syntax by default, which is very often desirable. Move `pathlib._abc.ParserBase` to `pathlib._types.Parser`, and convert it to a runtime-checkable protocol. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Diffstat (limited to 'Tools/wasm')
0 files changed, 0 insertions, 0 deletions