Message137585
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:52 | brian.curtin | set | recipients:
+ brian.curtin, loewis, giampaolo.rodola, tim.golden, stutzbach, eli.bendersky |
2011-06-03 20:55:52 | brian.curtin | set | messageid: <1307134552.3.0.102969055662.issue11583@psf.upfronthosting.co.za> |
2011-06-03 20:55:51 | brian.curtin | link | issue11583 messages |
2011-06-03 20:55:51 | brian.curtin | create | |
|