syntax error?why?

Michael Hudson mwh21 at cam.ac.uk
Fri Nov 3 14:04:56 EST 2000


"Alex Martelli" <aleaxit at yahoo.com> writes:

> Therefore, this must count as a bug of the Python
> compiler -- it displays insufficient information
> on these kinds of syntax errors (showing a couple
> of extra previous lines would help, as would having
> a message a TAD more informative than 'invalid
> syntax'!-).  Quite unfriendly, especially to
> beginning users of Python...

Python 2 is much better here (praise be to Ping!).  Of course I can't
tell you whether it would be in this situation...

Cheers,
M.

-- 
  If you give someone Fortran, he has Fortran.
  If you give someone Lisp, he has any language he pleases.
    -- Guy L. Steele Jr, quoted by David Rush in comp.lang.scheme.scsh



More information about the Python-list mailing list