Origin of eval()-ing in separate namespace object

Kalinni Gorzkis musicdenotation at gmail.com
Sun Dec 8 05:35:54 EST 2013


By which languages(s) Python was inspired to support evaluating expressions and executing statements in a separate “namespace” object?

This syntax:
eval(expression,globals) or exec(code,globals)
What is the origin of the functionality provided by the globals argument?


More information about the Python-list mailing list