Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > problem with tabnanny

Reply
Thread Tools

problem with tabnanny

 
 
m3tr0@dei.unipd.it
Guest
Posts: n/a
 
      09-10-2003

Hi to all,

tabnanny module seems not to work (at least for me)
Please write this two lines of code in a file (i called
it test.py)

#---------8<---- test.py -------------

if 1:
print "error"

#---------8<------ end test.py -------

If I try

$ python test.py
File "/home/pier/test.py", line 2
print "error"
^
IndentationError: expected an indented block

and this is correct. But the following
$ python /usr/lib/python2.2/tabnanny.py -v test.py
'/home/pier/test.py': Clean bill of health.

for tabnanny it's correct!?
I've tried this also with python 2.3 compiled from source
with the same results.

Any ideas
(Pease cc the mail to m3tr0 at dei.unipd.it)

Best regards

Pier Carteri


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tabnanny errors when Migrating Python 2.4 code to 2.5 kyosohma@gmail.com Python 3 01-04-2008 10:28 PM
RE: Tabnanny? Anna M. Python 1 06-09-2005 12:36 AM
Re: Tabnanny? Douglas Soares de Andrade Python 0 06-08-2005 09:04 PM
Re: Tabnanny? Douglas Soares de Andrade Python 0 06-08-2005 08:45 PM
Tabnanny really useful? Franz Steinhaeusler Python 16 12-23-2004 10:30 AM



Advertisments