[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Tue Jul 27 18:11:16 CEST 2010


Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail.Com> added the comment:

'mkdir -p' prints error when target exists and is non-directory:

$ cd /tmp 
$ touch file
$ mkdir -p file
mkdir: cannot create directory `file': File exists

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9299>
_______________________________________


More information about the Python-bugs-list mailing list