Message243501
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:41 | mew | set | recipients:
+ mew |
2015-05-18 17:23:41 | mew | set | messageid: <1431969821.39.0.237201791785.issue24231@psf.upfronthosting.co.za> |
2015-05-18 17:23:41 | mew | link | issue24231 messages |
2015-05-18 17:23:41 | mew | create | |
|