This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Arfrever, georg.brandl, josh.r, ncoghlan, neologix, pitrou, python-dev, serhiy.storchaka, socketpair, vstinner
Date 2015-10-20.19:30:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwbswoTvC4nrhsk1C3uLqbNn5YxzqF0ddYrc6kDqrXBcmA@mail.gmail.com>
In-reply-to <1445364147.3.0.285571330843.issue21515@psf.upfronthosting.co.za>
Content
2015-10-20 20:02 GMT+02:00 Марк Коренберг <report@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.
History
Date User Action Args
2015-10-20 19:30:01vstinnersetrecipients: + vstinner, georg.brandl, ncoghlan, pitrou, Arfrever, neologix, socketpair, python-dev, serhiy.storchaka, josh.r
2015-10-20 19:30:01vstinnerlinkissue21515 messages
2015-10-20 19:30:01vstinnercreate