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 ned.deily
Recipients mew, ned.deily, r.david.murray
Date 2015-05-18.19:42:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431978146.71.0.582296525595.issue24231@psf.upfronthosting.co.za>
In-reply-to
Content
It doesn't seem to be true for other mount points; the ones I tried raise FileExistsError.  I suppose one could dig into the OS sources.  I see that none of the FreeBSD or OS X mkdir man pages nor the POSIX 2013 spec document EISDIR as an expected error from mkdir(2) so one could argue it's an implementation bug.  It is a somewhat unusual case, though, as I doubt you would ever run into a situation where you really needed to create '/' from a process :=)  Still ...
History
Date User Action Args
2015-05-18 19:42:26ned.deilysetrecipients: + ned.deily, r.david.murray, mew
2015-05-18 19:42:26ned.deilysetmessageid: <1431978146.71.0.582296525595.issue24231@psf.upfronthosting.co.za>
2015-05-18 19:42:26ned.deilylinkissue24231 messages
2015-05-18 19:42:26ned.deilycreate