Package: python-central
Version: 0.4.10
Severity: normal

At the end of DebPackage.install() there is the following logic:

if byte_compile_default:
    if self.private_files:
        default_runtime.byte_compile(files, bc_option, exclude_regex)

files should be replaced with private_files here.

In packages with both files in /usr/lib/python2.x and private .py files,
this appears to cause the former to be byte-compiled again, using the default
Python runtime. In packages with the latter but not the former, it
causes a crash with an UnboundLocalError exception.

(python-docutils contains .py scripts (not actually meant as modules) which
are in a non-standard location, causing pycentral to think it has
private modules.)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (990, 'testing'), (990, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages python-central depends on:
ii  python                        2.3.5-7    An interactive high-level object-o

python-central recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to