[issue42367] Restore os.makedirs ability to apply mode to all directories created

Serhiy Storchaka report at bugs.python.org
Mon Nov 16 05:32:46 EST 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Alternatively we can add an optional argument for the mode of intermediate directories.

makedirs(name, mode=0o777, exist_ok=False, intermediate_mode=0o777)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42367>
_______________________________________


More information about the Python-bugs-list mailing list