Raymond Hettinger added the comment:

> So maybe a check was dropped by mistake?

Why do we care?  For the most part, Linux treats directories as files (if I do 
a mkdir twice, the error is "mkdir: tmp: File exists".  We don't care about the 
other flags rwx so why should we care about d?

Python should avoid adding superfluous checks when it doesn't have to.

> Anyways, it doesn't bother me too much.

AFAICT, it hasn't bothered anyone.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21784>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to