Safe to import __builtin__ ?

mrstevegross mrstevegross at gmail.com
Tue Jun 2 17:45:17 EDT 2009


> Why do you want to import it?
>
> Seehttp://docs.python.org/library/__builtin__.html

I'm using a weird python environment that overloads a few builtin
functions. In order to run them, I need to explicitly invoke
"__builtin__.foo()" to make sure I get the real builtin version, not
the overloaded one.

--Steve



More information about the Python-list mailing list