diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-03-24 11:27:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 11:27:42 (GMT) |
commit | e304e33c16e060932d1e2cc8a030d42b02b429b5 (patch) | |
tree | d6c763564bfa27d2e4069a980296e90c8f71f31f /Doc/whatsnew | |
parent | 5619ab2db3a6c62ffaa55e8826cf67b7459fc484 (diff) | |
download | cpython-e304e33c16e060932d1e2cc8a030d42b02b429b5.zip cpython-e304e33c16e060932d1e2cc8a030d42b02b429b5.tar.gz cpython-e304e33c16e060932d1e2cc8a030d42b02b429b5.tar.bz2 |
bpo-19930: The mode argument of os.makedirs() no longer affects the file (#799)
permission bits of newly-created intermediate-level directories.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.7.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index 882d6a2..b69f452 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -247,6 +247,13 @@ Changes in the Python API and module are affected by this change. (Contributed by INADA Naoki and Eugene Toder in :issue:`29463`.) +* The *mode* argument of :func:`os.makedirs` no longer affects the file + permission bits of newly-created intermediate-level directories. + To set their file permission bits you can set the umask before invoking + ``makedirs()``. + (Contributed by Serhiy Storchaka in :issue:`19930`.) + + CPython bytecode changes ------------------------ |