[issue5165] os.rename and other raise WindowsError

2009-02-06 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson krist...@ccpgames.com: 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

[issue5165] os.rename and other raise WindowsError

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

[issue5165] os.rename and other raise WindowsError

2009-02-06 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: ah, well, silly me. then I'll just close this as Invalid. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5165