The following forum message was posted by chadkennedy at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3825707:

When I select Run - Run As - Python Coverage the following message appears in
the Console window:

  File "C:\eclipse\plugins\org.python.pydev.debug_1.6.1.2010080312\pysrc\coverag
e.py", line 336
    print error
              ^
SyntaxError: invalid syntax

My configuration:
Windows Vista
Python 3.1.2
Eclipse 3.6

I see that the file coverage.py is using Python 2.x-style print statements,
which won't work with Python 3.1.2.  My question is, what is the right way to
fix this?  I spent a while googling for answers and couldn't find anything
relevant.

Looking here: http://nedbatchelder.com/code/coverage/ I noticed that coverage.py
is on version 3.3.1 and supports Python 3.  I was going to replace the one 
installed
with pydev (at version 2.78.20070930).  However, the coverage.py 3.3.1 archive
doesn't even contain a coverage.py file.

Thanks for any insights!

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to