Changes by Hynek Schlawack h...@ox.cx:
--
title: Add option to os.makefile to not raise an exception for existing
directories - Add option to os.mkdir to not raise an exception for existing
directories
___
Python tracker rep...@bugs.python.org
Hynek Schlawack h...@ox.cx added the comment:
I looked into the code. Assuming it should be added, we're facing the fact that
os.mkdir() is C code ATM and the handling of the error would require to
implement it for NT and Unix separately.
Therefore it would make sense to add a Python
Martin v. Löwis mar...@v.loewis.de added the comment:
I agree that this is already covered by the exist_ok parameter (which is new to
3.2). Existing code just hasn't been ported to this API.
--
resolution: - wont fix
status: open - closed
___
R. David Murray rdmur...@bitdance.com added the comment:
Note that the implementation of makedirs exist_ok has a significant bug (issue
13498) which renders it mostly useless in practice. Parties interested in this
issue might be interested in figuring out how to fix that bug :)
--