[issue31515] Doc for os.makedirs is inconsistent with actual behaviour

2017-09-19 Thread Franck Pommereau
Franck Pommereau added the comment: Sorry for the noise, I just discovered in the doc for os.mkdir that UMASK is applied on the mode passed to the functions. So the behaviour is actually correct. -- resolution: -> not a bug stage: -> resolved status: open -> closed _

[issue31515] Doc for os.makedirs is inconsistent with actual behaviour

2017-09-19 Thread Franck Pommereau
New submission from Franck Pommereau: Documentation of os.makedirs says "The default mode is 0777 (octal)" but when I use os.makedirs("foo"), the directory is created with permissions 0755. Documentation should be updated or default mode fixed. I've tested it only with Python 2.7.6 and 3.4.3 (t