This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brian.curtin
Recipients brian.curtin, eli.bendersky, giampaolo.rodola, loewis, stutzbach, tim.golden
Date 2011-06-03.20:55:51
SpamBayes Score 5.569582e-07
Marked as misclassified No
Message-id <>
Here's a patch that works. All tests are passing.

I changed from using FindFirstFile to GetFileAttributes, which provides basically the same performance characteristics.

One change in this implementation is to not raise a WindowsError when the file cannot be opened. The original os.stat would return False in that case, so now this function returns False (before it just passed on the WindowsError, which killed lots of tests).
Date User Action Args
2011-06-03 20:55:52brian.curtinsetrecipients: + brian.curtin, loewis, giampaolo.rodola, tim.golden, stutzbach, eli.bendersky
2011-06-03 20:55:52brian.curtinsetmessageid: <>
2011-06-03 20:55:51brian.curtinlinkissue11583 messages
2011-06-03 20:55:51brian.curtincreate