Author mew
Recipients mew
Date 2015-05-18.17:23:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2015-05-18 17:23:41mewsetrecipients: + mew
2015-05-18 17:23:41mewsetmessageid: <>
2015-05-18 17:23:41mewlinkissue24231 messages
2015-05-18 17:23:41mewcreate