FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-123599: Deprecate duplicate `pathname2url()` implementation by barneygale · Pull Request #127380 · python/cpython · GitHub

/ cpython Public

GH-123599: Deprecate duplicate pathname2url() implementation - #127380

Merged
barneygale merged 5 commits into
python:mainfrom
barneygale:gh-123599-use-urllib-2
Mar 20, 2025
Merged

GH-123599: Deprecate duplicate pathname2url() implementation#127380
barneygale merged 5 commits into
python:mainfrom
barneygale:gh-123599-use-urllib-2

Conversation

barneygale commented Nov 29, 2024
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

Call urllib.request.pathname2url() from pathlib.Path.as_uri(), and deprecate the duplicate implementation in PurePath.


📚 Documentation preview 📚: https://cpython-previews--127380.org.readthedocs.build/

Call `urllib.request.pathname2url()` from `pathlib.Path.as_uri()`, and
deprecate the duplicate implementation in `PurePath`.
Comment thread Lib/pathlib/_local.py Outdated
Comment thread Lib/pathlib/__init__.py Outdated
Comment thread Lib/pathlib/__init__.py Outdated
Comment thread Lib/pathlib/__init__.py Outdated
Comment thread Lib/pathlib/__init__.py Outdated
barneygale and others added 2 commits March 20, 2025 00:08
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

AA-Turner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks! Sorry for missing this PR initially, I only spotted it when you closed the other PR earlier today.

A

Comment thread Doc/library/pathlib.rst

barneygale commented Mar 20, 2025
edited
Loading

Copy link
Copy Markdown
Contributor Author

No worries, and thanks very much for the review!

Embarrassingly I actually linked the wrong PR from my comment in #123650 😅. I've edited it now.

barneygale merged commit f141e8e into python:main Mar 20, 2025

Copy link
Copy Markdown
Member

Embarrassingly I actually linked the wrong PR from my comment in #123650 😅.

Et voilà: #126844 (review)

A

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL