\ OctalDigit etc.
bearophile
bearophileHUGS at lycos.com
Thu Mar 20 05:18:12 PDT 2008
Sean Kelly:
> The format of octal literals is one of the more harebrained ideas we've inherited from C. I'd love to require
> an "0o" prefix or something of the sort, but it would cause unnecessary trouble for ported C code. Ah well.
Just fixed in Python 3.0 ;-) Among many other things. But I too can see the situation is different: you usually don't port much code from C to Python.
Bye,
bearophile
More information about the Digitalmars-d
mailing list