Antoine Pitrou <pit...@free.fr> added the comment: > I don't think that fopen() can fails with ENOTDIR.
According to POSIX: [ENOTDIR] A component of the path prefix is not a directory, or the filename argument contains at least one non- <slash> character and ends with one or more trailing <slash> characters and the last pathname component names an existing file that is neither a directory nor a symbolic link to a directory. http://pubs.opengroup.org/onlinepubs/9699919799/functions/fopen.html ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13192> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com