-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-41066: Update the comparison section for os vs pathlib #21261
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
Conversation
Should be back ported to 3.8, 3.9 as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A ping with @pitrou for his thought on this.
Looks trivial for a news entry.
Agree that it is trivial to have a NEWS entry, so I removed it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, thank you
:func:`os.path.isdir` :meth:`Path.is_dir` | ||
:func:`os.path.isfile` :meth:`Path.is_file` | ||
:func:`os.path.islink` :meth:`Path.is_symlink` | ||
:func:`os.link` :meth:`Path.link_to` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to quickly add os.symlink
and Path.symlink_to
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Thanks @srinivasreddy for the PR, and @pitrou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
…21261) (cherry picked from commit 0eb9deb) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <[email protected]>
GH-21863 is a backport of this pull request to the 3.9 branch. |
Sorry, @srinivasreddy and @pitrou, I could not cleanly backport this to |
…honGH-21261). (cherry picked from commit 0eb9deb) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <[email protected]>
GH-21864 is a backport of this pull request to the 3.8 branch. |
(cherry picked from commit 0eb9deb) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <[email protected]>
…21261) (GH-21864) (cherry picked from commit 0eb9deb) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <[email protected]> Automerge-Triggered-By: @pitrou
https://bugs.python.org/issue41066