diff options
author | Barney Gale <barney.gale@gmail.com> | 2023-04-14 20:55:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 20:55:41 (GMT) |
commit | 8af8f52d175959f03cf4a2786b6a81ec09e15e95 (patch) | |
tree | 8848581a801af299c17343a997acb5f1a06c9f40 /Objects/exceptions.c | |
parent | 7c1b0a46c61f8bf8e2039bba1bff11b6ae20e56b (diff) | |
download | cpython-8af8f52d175959f03cf4a2786b6a81ec09e15e95.zip cpython-8af8f52d175959f03cf4a2786b6a81ec09e15e95.tar.gz cpython-8af8f52d175959f03cf4a2786b6a81ec09e15e95.tar.bz2 |
GH-78079: Fix UNC device path root normalization in pathlib (GH-102003)
We no longer add a root to device paths such as `//./PhysicalDrive0`,
`//?/BootPartition` and `//./c:` while normalizing. We also avoid adding a
root to incomplete UNC share paths, like `//`, `//a` and `//a/`.
Co-authored-by: Eryk Sun <eryksun@gmail.com>
Diffstat (limited to 'Objects/exceptions.c')
0 files changed, 0 insertions, 0 deletions