import mysteries

"Martin v. Löwis" martin at v.loewis.de
Wed Jul 4 01:28:06 EDT 2007


> Yeah, of course.  I just don't think anything that perverse is
> happening in these cases.  Take, for another example,
> http://trac.edgewall.org/ticket/5646#comment:3

[that perverse == putting a name into globals()]

When you do gettext.install(...), it will put the name _ into
the __builtins__. Apparently, the trac code relies on that.

Regards,
Martin



More information about the Python-list mailing list