> > I've just noticed a strange thing in the quickstart generated
> > controllers module, namely that the i18n-related function _ is
> > available in the namespace of the Root controller although it was not
> > imported explicitly neither implicitly (from .... import *). What
> > black magic brings it into scope still?
>
> Probably by injecting it into the __builtins__ module.
>
> http://docs.python.org/lib/module-builtin.html
>
> Chris

Oh I see. Thanks a lot, haven't seen anything like that before!

Cheers,
Daniel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to