[Python-ideas] Allow function __globals__ to be arbitrary mapping not just dict

Victor Stinner victor.stinner at gmail.com
Thu Mar 22 03:06:55 CET 2012


> I propose to allow function.__globals__ to accept any mapping type.

I proposed a different but related change: support types other than
dict for __builtins__ in the following issue.

http://bugs.python.org/issue14385

Victor



More information about the Python-ideas mailing list