[IPython-dev] underscore and gettext interaction
Ville Vainio
vivainio at kolumbus.fi
Fri Jul 2 09:48:33 EDT 2004
Fernando Perez wrote:
> Do you mean circumvented by the user? That's definitely an option,
> but I'd like to really fix it in the core. Especially because they
> would have to do
>
> l.install();tr=_
>
> so that it all happens before ipython has a chance to mangle the _
> variable. Plus, it makes testing of real code fragments which rely on
> _ tricky in ipython. So I think it's worth fixing it for real.
Apparently normal python interactive interpreter stores "_" in
__builtin__, which should achieve what you want...
More information about the IPython-dev
mailing list