On 2/1/06, Dan Jacob <[EMAIL PROTECTED]> wrote:
> PS. In fact the default Python gettext functionality does this with the
> install function:
> http://docs.python.org/lib/node328.html
> so if you have an issue with this you should take it up in
> comp.lang.python as well.

Yes, this one particular function is commonplace, well-understood,
used by tools and even part of the std lib. Given all of that, I don't
see any harm in "_" being added to __builtins__.

I'm not, in general, in favor of magic imports and implicit behavior.
But, i18n is something that likely touches every string in every file,
so a couple of shortcuts make life more pleasant.

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to