[Zope-dev] PythonScript errormessages in 2.4
Steve Alexander
steve@cat-box.net
Thu, 26 Jul 2001 08:47:43 +0100
Michel Pelletier wrote:
>
> I don't get a SyntaxError, I get an IndentationError:
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/tmp/python-2029Osa", line 4
> print 'foo'
> ^
> IndentationError: expected an indented block
>
> Notice that it also points to a weird place.
Assuming a 4 character indentation, the caret is pointing to where the
indentation would be expected to start.
Chance or design? I don't know.
--
Steve Alexander
Software Engineer
Cat-Box limited