Antoine Pitrou <pit...@free.fr> added the comment: > I could see how they'd use EINVAL, but to me ENOTDIR makes more sense > here. However, I'm not sure if anyone is depending on this (or what > they could depend on it for).
Right now I'm not sure, but if PEP 3151 is accepted it will make much more sense to get a NotADirectoryError. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12802> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com