diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-11-08 16:47:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 16:47:51 +0000 |
commit | 54c63a32d06cb5f07a66245c375eac7d7efb964a (patch) | |
tree | ec77472893e2d8bb0b900d44d8e9fffcb26ccede /Python/optimizer.c | |
parent | fa4092259763ffad45a5bb9ef55f515dc6a69ad2 (diff) | |
download | cpython-54c63a32d06cb5f07a66245c375eac7d7efb964a.tar.gz cpython-54c63a32d06cb5f07a66245c375eac7d7efb964a.zip |
GH-126212: Fix removal of slashes in file URIs on Windows (#126214)
Adjust `urllib.request.pathname2url()` and `url2pathname()` so that they
don't remove slashes from Windows DOS drive paths and URLs. There was no
basis for this behaviour, and it conflicts with how UNC and POSIX paths are
handled.
Diffstat (limited to 'Python/optimizer.c')
0 files changed, 0 insertions, 0 deletions