Skip to content
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

bpo-45582: Add conditions to isdir/isfile/isxfile in getpath.c #29906

Merged
merged 1 commit into from
Dec 3, 2021
Merged

bpo-45582: Add conditions to isdir/isfile/isxfile in getpath.c #29906

merged 1 commit into from
Dec 3, 2021

Conversation

neonene
Copy link
Contributor

@neonene neonene commented Dec 3, 2021

It looks to me a NOT(!) operator is missing in getpath_isxfile().
INVALID_FILE_ATTRIBUTES(-1) checks are also added just in case.

https://bugs.python.org/issue45582

@zooba
Copy link
Member

zooba commented Dec 3, 2021

Thanks!

@neonene neonene deleted the bpo-45582 branch December 3, 2021 22:15
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.

None yet

4 participants