[PythonCE] IndentationError in 2.5 command line interpreter

barlow5453 at mypacks.net barlow5453 at mypacks.net
Fri Oct 20 14:59:24 CEST 2006


If I try to write a multi-line construct in the Pythonce 2.5 command line interpreter,
I get an IndentationError
when I press Enter after a line with some control flow statement.

For example, consider this simple example:

>>>  for i in xrange(10):

When I press Enter at this point, I get:

IndentationError: expected an indented block.

In Pythonce 2.4.3 and earlier, pressing Enter forced a line break and I could include
the necessary indentation on the continuation line. Is it a known issue that this
behavior no longer works?

Thanks for your help.




More information about the PythonCE mailing list