Python Front-end to GCC

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Oct 22 06:10:50 EDT 2013


On Tue, 22 Oct 2013 08:55:15 +0000, Antoine Pitrou wrote:

> If you don't implement exec() and eval() then people won't be able to
> use namedtuples, which are a common datatype factory.


Philip could always supply his own implementation of namedtuple that 
doesn't use exec.

But either way, if he doesn't implement eval and exec, what he has is not 
Python, but a subset of Python. Perhaps an interesting and useful subset.

-- 
Steven



More information about the Python-list mailing list