[Python-3000] Proposed changes to PEP3101 advanced string formatting -- please discuss and vote!

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 14 06:11:38 CET 2007


Josiah Carlson wrote:

> eval() should require explicit locals() and globals() if the user wants
> to use them.  Not providing a locals() at least should be an error.

Or should default to an empty dict. You might want
to use eval() on something known to be a constant
expresssion that doesn't refer to any names.

--
Greg


More information about the Python-3000 mailing list