[Python-Dev] Better SyntaxError messages
Vladimir Marangozov
Vladimir.Marangozov@inrialpes.fr
Wed, 5 Jul 2000 14:54:50 +0200 (CEST)
Greg Wilson wrote:
>
> > On Wed, 5 Jul 2000, Vladimir Marangozov wrote:
> > I'd remove the word "here" so that the error msg is self-contained.
> > "expected indent" & "expected dedent" are fine.
>
> I just did a poll --- only 2 out of 5 programmers in my shouting radius
> know what "dedent" means. Is there a more accessible way to phrase the
> error message?
Good point.
Here's another suggestion:
"expected indent" -> "missing expected indentation"
"expected dedent" -> "missing expected closing indentation"
?
--
Vladimir MARANGOZOV | Vladimir.Marangozov@inrialpes.fr
http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252