Python Front-end to GCC

Antoine Pitrou solipsis at pitrou.net
Tue Oct 22 11:51:48 EDT 2013


Steven D'Aprano <steve+comp.lang.python <at> pearwood.info> writes:
> 
> 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.

If you go that way, we already have Cython (which is both a subset and
superset of Python, although I don't know if it's still a strict subset these
days).

Regards

Antoine.





More information about the Python-list mailing list