Skip to content

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Nov 24, 2024

Call urllib.request.url2pathname() from pathlib.Path.from_uri() rather than re-implementing it. This paves the way for solving the main issue (ignoring local authorities and rejecting non-local ones) in urllib, not pathlib.

Call `urllib.request.url2pathname()` from `pathlib.Path.from_uri()` rather
than re-implementing it. This paves the way for solving the main issue
(ignoring local authorities and rejecting non-local ones) in urllib, not
pathlib.
@barneygale barneygale enabled auto-merge (squash) March 19, 2025 20:42
@barneygale barneygale merged commit 63b5aed into python:main Mar 19, 2025
38 checks passed
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
…thon#127237)

Call `urllib.request.url2pathname()` from `pathlib.Path.from_uri()` rather
than re-implementing it. This paves the way for solving the main issue
(ignoring local authorities and rejecting non-local ones) in urllib, not
pathlib.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant