Package: python3
Version: 3.2-3
Severity: normal

I've submitted this bug before for python 3.2-1 as #624277, which was marked as
fixed in 3.2-3 and closed. However I now have 3.2-3 installed and the bug
appears to still be present in that version. Here is the original report which
describes the problem:

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

fixes the problem.



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

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python3 depends on:
ii  python3-minimal              3.2-3       minimal subset of the Python langu
ii  python3.2                    3.2.1~rc1-1 An interactive high-level object-o

python3 recommends no packages.

Versions of packages python3 suggests:
ii  python3-doc                   3.2-3      documentation for the high-level o
pn  python3-profiler              <none>     (no description available)
pn  python3-tk                    <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