[issue5165] os.rename and other raise WindowsError

2009-02-06 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: ah, well, silly me. then I'll just close this as "Invalid". -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___

[issue5165] os.rename and other raise WindowsError

2009-02-06 Thread Matthew Barnett
Matthew Barnett added the comment: WindowsError is a subclass of OSError, so it's not entirely contradictory, just a little misleading... :-) -- nosy: +mrabarnett ___ Python tracker

[issue5165] os.rename and other raise WindowsError

2009-02-06 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : in lib/test/test_os.py, there is a test class, Win32ErrorTests, that tests that certain functions return a WindowsError on failure. And indeed they do that, but that is in contradiction with the documentation. From the 2.6 docs: Note All functio