Author mew
Recipients mew
Date 2015-05-18.17:23:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431969821.39.0.237201791785.issue24231@psf.upfronthosting.co.za>
In-reply-to
Content
On Darwin, os.mkdir('/') raises IsADirectory. On Linux, the same call raises FileExistsError. The implementation for os.makedirs() in Python 3.2+ checks only for the latter when evaluating the exists_ok parameter. This causes os.makedirs('/', exist_ok=True) to fail on Darwin but succeed on Linux.
History
Date User Action Args
2015-05-18 17:23:41mewsetrecipients: + mew
2015-05-18 17:23:41mewsetmessageid: <1431969821.39.0.237201791785.issue24231@psf.upfronthosting.co.za>
2015-05-18 17:23:41mewlinkissue24231 messages
2015-05-18 17:23:41mewcreate