This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients LambertDW, aronacher, bethard, dwayne, eric.araujo, georg.brandl
Date 2010-12-04.17:22:16
SpamBayes Score 0.00012722936
Marked as misclassified No
Message-id <1291483339.08.0.0210537176344.issue4391@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch fixes the two misuses I found in argparse.

I tried importing ngettext as _ngettext to comply with arpgarse’s crazy^Wpersonal <wink> import style (enforced in TestImportStar), but then I could not force xgettext to find all the strings.  Rather than struggle longer with the program, I chose to add an exception for ngettext in the test.  “from argparse import *” does not import ngettext, thanks to __all__, so I think my choice is simple and sensible.
History
Date User Action Args
2010-12-04 17:22:19eric.araujosetrecipients: + eric.araujo, georg.brandl, bethard, LambertDW, aronacher, dwayne
2010-12-04 17:22:19eric.araujosetmessageid: <1291483339.08.0.0210537176344.issue4391@psf.upfronthosting.co.za>
2010-12-04 17:22:16eric.araujolinkissue4391 messages
2010-12-04 17:22:16eric.araujocreate