[issue7450] document that os.chmod accepts an octal digit mode
report at bugs.python.org
Mon Dec 7 16:54:20 CET 2009
New submission from clutchski <clutchski at gmail.com>:
It would be helpful to explicitly document that os.chmod accepts octal
digit modes e.g. os.chmod(path, 0755). This is much more user friendly
than saying you must OR bit constants kept in a completely different module.
It could be argued that this change would be make the abstraction leaky,
since the values of the stat.S_I* constants could change, but in
practice, this seems unlikely.
nosy: clutchski, georg.brandl
title: document that os.chmod accepts an octal digit mode
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list