[issue21539] pathlib's Path.mkdir() should allow for "mkdir -p" functionality

Barry A. Warsaw report at bugs.python.org
Tue May 27 20:32:01 CEST 2014


Barry A. Warsaw added the comment:

I've just been writing some new code to use pathlib and ran into this one myself.  An exist_ok=False is fine, although it's a slight shame that for backward compatibility we can't adopt os.makedirs() signature exactly.

----------

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


More information about the Python-bugs-list mailing list