Author rcmiller
Recipients
Date 2006-06-07.02:49:17
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This patch modifies syntax error location information
to indicate when an error is detected on a statement
continuation line, for example
     File "test.py", line 42 (continuing line 41)
The intent is to be less confusing when an error
reported on one line is actually the result of
unbalanced brackets on a previous line.  The change
adds a new 'stmt_lineno' field to the SyntaxError
exception, containing the line number on which the
statement started.

The patch is against r46701 and was developed and
tested on Fedora 4 Linux.
History
Date User Action Args
2007-08-23 15:52:41adminlinkissue1501979 messages
2007-08-23 15:52:41admincreate