An idiom for code generation with exec

Dan Yamins dyamins at gmail.com
Fri Jun 20 13:06:45 EDT 2008


On Fri, Jun 20, 2008 at 3:17 AM, Bruno Desthuilliers
<bruno.42.desthuilliers at websiteburo.invalid> wrote:

Just to make things clear: you do know that you can dynamically build
> functions without exec, do you ?


Actually, I don't know how to do this, but would like to.   Can you point me
to a place where I can read more about how  (and to a discussion of the
flaws of the exec-based approach)?


Thanks!
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080620/bc2d0224/attachment-0001.html>


More information about the Python-list mailing list