[Python-ideas] List Revolution

Matt Billenstein matt at vazor.com
Sat Sep 10 21:22:29 CEST 2011

On Sat, Sep 10, 2011 at 02:14:13PM -0500, Massimo Di Pierro wrote:
> Not to open a can of worms but why not use eval in this example?
> It is faster. It is 5x more compact. It allows me to take advantage of the
> Python parser instead of reinventing the wheel. It is less error prone and
> easier to understand. It is a python keyword.

I wouldn't worry too much about the implementation details of a clearly insane

And eval generally has high "code-smell" -- it can lead to code injection


Matt Billenstein
matt at vazor.com

More information about the Python-ideas mailing list