Your message dated Thu, 05 Jan 2012 14:20:23 +0100
with message-id <[email protected]>
and subject line Re: Bug#635605: python3: Argparse module calls ngettext but 
doesn't import it
has caused the Debian Bug report #635605,
regarding python3: Argparse module calls ngettext but doesn't import it
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
635605: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635605
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Version: 3.2.3-2

fixed.


--- End Message ---

Reply via email to