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 <rep...@bugs.python.org>
<http://bugs.python.org/issue29366>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to