Package: python-kid Version: 0.9.1-2 Severity: normal During an upgrade today I observe the following output:
Setting up python-kid (0.9.1-2) ... /usr/share/python-support/kid/kid/importer.py:81: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up return 'kid.util.template_' + hex(hash(filename) + 0x80000000) Compiling /var/lib/python-support/python2.5/kid/pull.py ... File "/var/lib/python-support/python2.5/kid/pull.py", line 9 from __future__ import generators SyntaxError: from __future__ imports must occur at the beginning of the file Compiling /var/lib/python-support/python2.5/kid/template_util.py ... File "/var/lib/python-support/python2.5/kid/template_util.py", line 10 from __future__ import generators SyntaxError: from __future__ imports must occur at the beginning of the file Inspecting the files reveals that several constants are defined prior to the 'from __future__' statement. Either the future import needs to be moved to the first line of the file, or it should be removed (since generators were "future" only in python 2.2). (possibly the FutureWarning should be fixed as well) -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'stable'), (80, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-1-k7 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages python-kid depends on: ii python 2.3.5-5 An interactive high-level object-o ii python-elementtree 1.2.6-7 Light-weight toolkit for XML proce ii python-setuptools 0.6a9-1 Python Distutils Enhancements ii python-support 0.2.2 automated rebuilding support for p Versions of packages python-kid recommends: ii python-elementtree [python2.4 1.2.6-7 Light-weight toolkit for XML proce -- no debconf information -- You have heard the saying that if you put a thousand monkeys in a room with a thousand typewriters and waited long enough, eventually you would have a room full of dead monkeys. (Scott Adams - The Dilbert principle) www: http://dman13.dyndns.org/~dman/ jabber: [EMAIL PROTECTED]
signature.asc
Description: Digital signature