[Mailman-Developers] i18n imports
Tue, 20 Feb 2001 09:40:09 +0100
On Mon, Feb 19, 2001 at 03:51:46PM -0500, Ron Jarrell wrote:
> >> Ok, I went in and put in the appropriate import in all those modules except
> >> pipermail, which has it's own internal definition of _, and one other
> >> which was importing all of the i18n module anyway.
> >Note that that isn't enough. 'from module import *' doesn't import names
> >starting with a _, and _ does start with a _. I can't find which module
> >you're talking about, though, so maybe you mean that it does 'from module
> >import spam, parrot, ham, creosote, voom, _, bucket', which would work.
> Errors.py just says "import Mailman.i18n" So that means it's not
> importing _? Can it use it explicitly? Because what it does is a
Yes, that works, too.
Thomas Wouters <firstname.lastname@example.org>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!