STINNER Victor added the comment: 2015-10-20 20:02 GMT+02:00 Марк Коренберг <rep...@bugs.python.org>: > Okay, seemes it is not documented that > > os.open('.', os.O_RDWR |os.O_EXCL | os.O_DIRECTORY) > > Should return EISDIR
You cannot open a directory to write, only to read. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21515> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com