Disabling the magic "last expression" _ variable

Koen Vossen koen at asemic.org
Tue Jul 1 13:10:05 CEST 2008

A project I'm currently working on uses Turbogears as a framework. I'd 
like to interact with it using the tg-admin shell. We also use gettext's 
_() function for internationalization. Now, this function is overwritten 
in interactive mode, which causes annoying exceptions. Is it possible to 
disable this behavior?

More information about the Python-list mailing list