[docs] [issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

Hynek Schlawack report at bugs.python.org
Sun Aug 5 13:28:46 CEST 2012


Hynek Schlawack added the comment:

How about something along of:

new arg on_wrong_perm=

1. WRONG_PERM_IGNORE
2. WRONG_PERM_FAIL
3. callable that gets called with the directory name and maybe the existing perms to save stat call_

?

----------

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


More information about the docs mailing list