New submission from clutchski <clutch...@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. ---------- assignee: georg.brandl components: Documentation messages: 96060 nosy: clutchski, georg.brandl severity: normal status: open title: document that os.chmod accepts an octal digit mode _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7450> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com