Skip to content

GH-123599: Remove duplicate url2pathname() implementation - #127237

Merged
barneygale merged 4 commits into
python:mainfrom
barneygale:gh-123599-use-urllib
Mar 19, 2025
Merged

barneygale merged 4 commits into
python:mainfrom
barneygale:gh-123599-use-urllib

Conversation

@barneygale

@barneygale barneygale commented Nov 24, 2024 •

Copy link
Copy Markdown
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant