[Python-ideas] __builtins__ behavior and... the FUTURE!

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Nov 25 00:09:02 CET 2007

Neil Toronto wrote:
>      Kill __builtins__. Take it out of the module dict. Let LOAD_GLOBAL
>      look in "builtins" (currently "__builtin__") for names after it
>      checks globals.

What about things like running code sandboxed with a
restricted set of builtins?


More information about the Python-ideas mailing list