[Python-Dev] Octal literals (original) (raw)

mattheww at chiark.greenend.org.uk mattheww at chiark.greenend.org.uk
Tue Jan 31 21:03:36 CET 2006


Andrew Koenig <ark at acm.org> wrote:

Possibly os.chmod and os.umask could be extended to take a string argument so we could write chmod(path, "0640"). -1. Would you really want chmod(path, 0640) and chmod(path, "0640") to have different meanings?

I want the former to be a syntax error, as I said in the preceding paragraph.

-M-



More information about the Python-Dev mailing list