Raymond Hettinger wrote:

> The worst part of the new user experience is encountering a 
> SyntaxError.  Because of the way we generate them, invalid 
> syntax errors are not very informative

This seems like an argument for producing more informative
error messages. Something like

   Syntax error: Numeric literal with leading zeroes is
   ambiguous. Use 0t123 for an octal literal, or omit the
   leading zeroes for a decimal literal.

should make it pretty clear what the problem is and
how to fix it.

--
Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to