On Wed, Mar 16, 2005 at 02:57:36AM +0800, Autrijus Tang wrote:
: So, between the two consistencies, do you think that the more DWIMmy
: one of parsing "0o123" is more helpful?  I'll implement it tomorrow
: if that's the case. :)

Yes, I do.  That was one of the main reasons for switching to the
less ambiguous 0o123 notation.  I do think that we can afford to be
picker for the dwimmier things nowadays, but that's probably covered
by warnings being on by default.  In any event, 123foo, 1e3f4x,
0o789, 0b1x, Info, and NaNa all produce warnings by default if used
in numeric context.  Extra whitespace should be ignored, however.

And we might even allow exponents on 0x et al., though what radix
the exponent is assumed to be is an interesting question, though.

Larry

Reply via email to