[issue7450] document that os.chmod accepts an octal digit mode

Martin v. Löwis report at bugs.python.org
Mon Dec 7 22:13:54 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

I think you misunderstand what's happening. It's not that os.chmod
accepts octal digits, but Python:

py> 04732
2522

So the support for octal numbers isn't something that chmod deserves
credit for.

----------
nosy: +loewis

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7450>
_______________________________________


More information about the Python-bugs-list mailing list