-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-109782: Ensure os.path.isdir
has the same signature on all platforms
#109790
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
0628d63
to
13d10df
Compare
os.path.isdir
has the same signature on all platforms
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.
LGTM
I don't think we need a test for this. More likely we need a written policy somewhere about how named arguments are handled in accelerator functions (which will probably retrigger the discussion about named vs. position-only arguments again). |
This comment was marked as outdated.
This comment was marked as outdated.
Thanks! |
FYI I'm planning to backport this, but only for 3.12.1 (it's not important enough to be backported this close to the release date for 3.12.0) |
Thanks @aminalaee for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @aminalaee and @zooba, I could not cleanly backport this to
|
GH-110233 is a backport of this pull request to the 3.12 branch. |
…l platforms (GH-109790) (#110233) gh-109782: Ensure `os.path.isdir` has the same signature on all platforms (GH-109790) Co-authored-by: Amin Alaee <[email protected]>
To fix the
os.path.isdir
signature for Windows to be the same as genericpath version.