Annoying octal notation

David 71david at libero.it
Thu Aug 20 15:06:43 EDT 2009


Hi all,

Is there some magic to make the 2.x CPython interpreter to ignore the
annoying octal notation?
I'd really like 012 to be "12" and not "10". 

If I want an octal I'll use oct()! 

"Explicit is better than implicit..."

TIA
David



More information about the Python-list mailing list