Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Improve performance of ntpath.isdir/isfile/exists/islink #102765
: added _Py_GetFileInformationByName to isdir
Merge branch 'python:main' into
enable actions workflows for branch
: add missing curly brace, fix whitespace
: added _Py_GetFileInformationByName to exists & isfile
: added _Py_GetFileInformationByName to islink, altere…
fix whitespace, remove unneeded comments
added result for slow_path excluding errors
skip isdir/isfile slow path if not a dir/file
Merge branch 'python:main' into
Merge branch 'python:main' into
revert branch addition in actions workflow
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
I highlighted this case since it was also highlighted this way were Py_GetFileInformationByName was called in the win32 xstat implementation earlier in the file. Would it be better to alter this comment to say something
Excluded additional errors from slow fallback path
Disable slow path in islink on any successful GetFileInformationByNam…