Better error message for reserved words
Thomas Guettler
pan-newsreader at thomas-guettler.de
Sat Apr 6 01:56:05 EST 2002
Hi!
How difficult is it to change the parser that the following:
==guettli at sonne:~/tmp$ python ~/scripts/replace_recursive.py
File "/home/guettli/scripts/replace_recursive.py", line 17
in=open(temp)
^
SyntaxError: invalid syntax
will print "SyntaxError: invalid syntax. 'in' is an reserved word"?
I think this would make python more newbie-friendly.
thomas
--
Thomas Guettler <guettli at thomas-guettler.de>
http://www.thomas-guettler.de
More information about the Python-list
mailing list