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

Christian Heimes report at bugs.python.org
Mon Nov 16 05:36:36 EST 2020


Christian Heimes <lists at cheimes.de> added the comment:

+1 for restoring the feature

+0 for Serhiy's proposal iff intermediate_mode defaults to the value of mode:


    def makedirs(name, mode=0o777, exist_ok=False, *, intermediate_mode=None):
        if intermediate_mode is None:
            intermediate_mode = mode

----------
nosy: +christian.heimes

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


More information about the Python-bugs-list mailing list