← 返回首页
GH-78707: Drop deprecated `pathlib.PurePath.[is_]relative_to()` arguments by barneygale · Pull Request #118780 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

GH-78707: Drop deprecated pathlib.PurePath.[is_]relative_to() arguments#118780

Merged
barneygale merged 5 commits into
python:mainfrom
barneygale:gh-78707-remove
May 10, 2024
Merged

GH-78707: Drop deprecated pathlib.PurePath.[is_]relative_to() arguments#118780
barneygale merged 5 commits into
python:mainfrom
barneygale:gh-78707-remove

Conversation

barneygale commented May 8, 2024
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

Remove support for supplying additional positional arguments to PurePath.relative_to() and is_relative_to(). This has been deprecated since Python 3.12.

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

… arguments Remove support for supplying additional positional arguments to `PurePath.relative_to()` and `is_relative_to()`. This has been deprecated since Python 3.12.
Comment thread Doc/whatsnew/3.14.rst Show resolved Hide resolved

hugovk 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 Hide comment

Thanks!

Copy link
Copy Markdown
Contributor Author

Thank you!

barneygale enabled auto-merge (squash) May 10, 2024 15:17
barneygale merged commit f772d0d into python:main May 10, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
… arguments (python#118780) Remove support for supplying additional positional arguments to `PurePath.relative_to()` and `is_relative_to()`. This has been deprecated since Python 3.12.
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.

2 participants

Footer

© 2026 GitHub, Inc.