[issue29366] os.listdir has inconsistent behavior when run on a non-directory
Serhiy Storchaka
report at bugs.python.org
Wed Jan 25 15:21:18 EST 2017
Serhiy Storchaka added the comment:
Blame Windows for this behavior. os.listdir() is just a wrapper around few system calls.
It is expected that functions in the os module can raise different exceptions on different platforms.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29366>
_______________________________________
More information about the Python-bugs-list
mailing list