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 _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com