[issue5220] os.makedirs' mode argument has bad default value

2010-06-13 Thread Sindre Myren
Sindre Myren added the comment: I have to agree with jab. While the way relative paths works are more or less common knowledge, the way umask does and does not work in relation to python isn't. It is however given a short description at http://docs.python.org/library/os.html#os.mak

[issue5220] os.makedirs' mode argument has bad default value

2010-06-14 Thread Sindre Myren
Sindre Myren added the comment: >I don't understand what you mean when you say "how umask works in >relation to Python". How it works in relation to Python isn't different >from how it works for any other Unix program. Consider, for example, >the unix man

[issue5220] os.makedirs' mode argument has bad default value

2010-06-14 Thread Sindre Myren
Sindre Myren added the comment: *Sorry.. A bit quick there. The line >> os.mkdir('test4') should have been: >> os.mkdir('test4', 0777) -- ___ Python tracker &

[issue5220] os.makedirs' mode argument has bad default value

2010-06-14 Thread Sindre Myren
Sindre Myren added the comment: Thank you very much for the clarification :) -- ___ Python tracker <http://bugs.python.org/issue5220> ___ ___ Python-bugs-list m