[Python-modules-team] Bug#575186: Bug#575186: python-paver: SyntaxError when compiling for Python 2.4

Sandro Tosi morph at debian.org
Wed Mar 24 08:13:42 UTC 2010

Hello Ben,

On Wed, Mar 24, 2010 at 04:31, Ben Finney <ben+debian at benfinney.id.au> wrote:
> Package: python-paver
> Version: 1.0.1-1
> Severity: normal
> When ‘python-support’ runs, the Python 2.4 installation of
> ‘python-paver’ causes a SyntaxError:
> =====
> Processing triggers for python-support ...
> Compiling /usr/lib/pymodules/python2.4/paver/path25.py ...
>  File "/usr/lib/pymodules/python2.4/paver/path25.py", line 32
>    yield old_dir
> SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause
> =====

Python 2.4 has been removed from unstable and testing, and won't be
supported in the upcoming squeeze stable release. So, you can safely
remove python2.4 from your system, and (if the problem with paver
won't solve by itself) try to --reinstall it: that will byte-compile
it only for the supported versions (2.5 and 2.6).

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the Python-modules-team mailing list