Numeric literals in other than base 10 - was Annoying octal notation

greg greg at
Mon Aug 24 03:46:18 CEST 2009

J. Cliff Dyer wrote:

> What happens if you use a literal like 0x10f 304?

To me the obvious thing to do is concatenate them
textually and then treat the whole thing as a single
numeric literal. Anything else wouldn't be sane, IMO.


More information about the Python-list mailing list