Skip to content

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

Merged
zooba merged 1 commit into
python:mainfrom
neonene:bpo-45582
Dec 3, 2021
Merged

zooba merged 1 commit into
python:mainfrom
neonene:bpo-45582

Conversation

@neonene

@neonene neonene commented Dec 3, 2021 •

Copy link
Copy Markdown
Contributor

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

zooba commented Dec 3, 2021

Copy link
Copy Markdown
Member

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

4 participants