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

Fred L. Drake, Jr. fdrake at acm.org
Tue Jan 31 21:06:29 CET 2006


On Tuesday 31 January 2006 14:55, Andrew Koenig wrote:

Would you really want chmod(path, 0640) and chmod(path, "0640") to have different meanings?

Actually, the proposal that suggested this also proposed that 0640 would raise a SyntaxError, since it was all about getting rid of octal literals.

-Fred

-- Fred L. Drake, Jr.



More information about the Python-Dev mailing list