[IronPython] Syntax Error (or not)
fuzzyman at voidspace.org.uk
Mon Apr 7 14:15:36 PDT 2008
Difference in handling of an incomplete statement at the interactive
interpreter (I think this is biting me as I implement an interactive
interpreter in the browser and I *think* it is unrelated to previous
related bugs we have discussed!).
The first (incomplete) statement should raise a SyntaxError immediately:
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
Type "help", "copyright", "credits" or "license" for more information.
File "<stdin>", line 1
SyntaxError: invalid syntax
IronPython 2.0 Beta (220.127.116.110) on .NET 2.0.50727.1434
Copyright (c) Microsoft Corporation. All rights reserved.
File "", line 1
SyntaxError: unexpected token '<newline>'
More information about the Users