[ python-Bugs-1562716 ] Spurious Tabnanny error

SourceForge.net noreply at sourceforge.net
Thu Sep 21 11:15:58 CEST 2006


Bugs item #1562716, was opened at 2006-09-21 10:23
Message generated for change (Settings changed) made by torhu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1562716&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: torhu (torhu)
Assigned to: Nobody/Anonymous (nobody)
>Summary: Spurious Tabnanny error

Initial Comment:
IDLE 1.2, Py 2.5 on WinXP SP2.

The extra parenthesis on the second line triggers a
warning message box:

"Tabnanny Tokenizing Error"
"Token Error: EOF in multi-line statement"

for i in range(10):
        a = list("123"))


The second line is indented with 8 or 4 spaces, doesn't
matter which.

Can't recall this happening in the IDLE version bundled
with py2.4.  Don't know if IDLE or the tabnanny module
is the culprit.

----------------------------------------------------------------------

Comment By: torhu (torhu)
Date: 2006-09-21 10:25

Message:
Logged In: YES 
user_id=1038085

I also had somone on #python confirm this behavior for me.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1562716&group_id=5470


More information about the Python-bugs-list mailing list