This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients
Date 2006-03-11.00:11:38
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=31435

What do you think the bug is?  That is, what did you expect
to happen?  tokenize.py isn't a syntax checker, so this
looks like a case of garbage-in, garbage-out to me.  There
are two lines in the sample program that contain a right
parenthesis that shouldn't be there, and if those syntax
errors are repaired then tokenize.py is happy with the
program.  As is, because of the unbalanced parentheses the
net paren level isn't 0 when tokenize reaches the end of the
file, so _something_ is wrong with the file, and "EOF in
multi-line statement" is just its heurestic guess at the
most likely cause.
History
Date User Action Args
2007-08-23 14:38:21adminlinkissue1447633 messages
2007-08-23 14:38:21admincreate