Package: python3.2
Version: 3.2-1
Severity: normal

Argparse in python3.2 includes two calls to ngettext to handle error messages,
but ngettext is not imported. This causes NameError to be raised instead of
ArgumentError when an invalid argument is encountered.

Changing line 93 from:

    from gettext import gettext

to:

    from gettext import gettext, ngettext

Argparse version 1.1 (1.1-1) from current Debian testing, Python 3.2
(r32:88445, Feb 20 2011, 18:43:30)

I have reported this on the Python bugtracker here:

http://bugs.python.org/issue11884

They confirm it is a Debian specific problem.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python3.2 depends on:
ii  libbz2-1.0                1.0.5-6        high-quality block-sorting file co
ii  libc6                     2.11.2-11      Embedded GNU C Library: Shared lib
ii  libdb5.1                  5.1.25-1       Berkeley v5.1 Database Libraries [
ii  libncurses5               5.7+20100313-5 shared libraries for terminal hand
ii  libreadline6              6.1-3          GNU readline and history libraries
ii  libsqlite3-0              3.7.5-1        SQLite 3 shared library
ii  mime-support              3.51-1         MIME files 'mime.types' & 'mailcap
ii  python3.2-minimal         3.2-1          A minimal subset of the Python lan

python3.2 recommends no packages.

Versions of packages python3.2 suggests:
ii  binutils               2.21.0.20110327-3 The GNU assembler, linker and bina
ii  python3.2-doc          3.2-1             Documentation for the high-level o
pn  python3.2-profiler     <none>            (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to