Author vstinner
Recipients benhoyt, ethan.furman, loewis, vstinner, zach.ware
Date 2014-06-11.14:35:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Instead of the somewhat cryptic name "winattrs", I suggest to call it st_file_attributes (...)

On Windows, os.stat() calls GetFileInformationByHandle() which fills a BY_HANDLE_FILE_INFORMATION structure, and this structure has a dwFileAttributes attribute. The os.stat() calls also GetFileType().

So I agree that os.stat().st_file_attributes is less surprising for Windows developers and it is more homogenous with FILE_ATTRIBUTE_xxx constants.
Date User Action Args
2014-06-11 14:35:30vstinnersetrecipients: + vstinner, loewis, benhoyt, ethan.furman, zach.ware
2014-06-11 14:35:30vstinnersetmessageid: <>
2014-06-11 14:35:30vstinnerlinkissue21719 messages
2014-06-11 14:35:30vstinnercreate