Skip to content

[3.14] GH-137059: url2pathname(): fix support for drive letter in netloc (GH-137060) #137144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 27, 2025

Support file URLs like file://c:/foo in urllib.request.url2pathname()
on Windows. This restores behaviour from 3.13.
(cherry picked from commit 10a925c)

Co-authored-by: Barney Gale barney.gale@gmail.com

…tloc (pythonGH-137060)

Support file URLs like `file://c:/foo` in `urllib.request.url2pathname()`
on Windows. This restores behaviour from 3.13.
(cherry picked from commit 10a925c)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
@barneygale
Copy link
Contributor

barneygale commented Jul 28, 2025

This will help get the pip test suite passing in 3.14 - see discussion

@hugovk hugovk merged commit aeb55eb into python:3.14 Jul 28, 2025
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants