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

M J Fleming scs5mjf at comp.leeds.ac.uk
Wed Feb 1 20:09:52 CET 2006


On Wed, Feb 01, 2006 at 01:35:14PM -0500, Barry Warsaw wrote:

The proposal for something like 0xff, 0o664, and 0b1001001 seems like the right direction, although 'o' for octal literal looks kind of funky. Maybe 'c' for oCtal? (remember it's 'x' for heXadecimal).

-Barry

+1

I definately agree with the 0c664 octal literal. Seems rather more intuitive.

Matt



More information about the Python-Dev mailing list