[Python-projects] Syntax Errors while installing PyLint

Meding, Olaf Olaf.Meding at bruker-axs.com
Wed Oct 10 17:58:38 CEST 2007


Got several syntax errors when I tried to install PyLint (copy/pasted
the first 2 below).

I am using Python 2.3.5 on MS Windows XP Professional.
Version of PyLint is 0.13.2

Olaf



byte-compiling
C:\bn\Python23\Lib\site-packages\pylint\test\input\func_continue_
not_in_loop.py to func_continue_not_in_loop.pyc
  File
"C:\bn\Python23\Lib\site-packages\pylint\test\input\func_continue_not_in
_
loop.py", line 8
    continue
SyntaxError: 'continue' not properly in loop

byte-compiling
C:\bn\Python23\Lib\site-packages\pylint\test\input\func_genexpr_v
ar_scope_py24.py to func_genexpr_var_scope_py24.pyc
  File
"C:\bn\Python23\Lib\site-packages\pylint\test\input\func_genexpr_var_sco
p
e_py24.py", line 5
    __revision__ = list(n for n in range(10))
                            ^
SyntaxError: invalid syntax


More information about the Python-Projects mailing list