Easy questions from a python beginner
Terry Reedy
tjreedy at udel.edu
Fri Jul 23 18:08:52 EDT 2010
On 7/23/2010 4:10 AM, Steven D'Aprano wrote:
> Using exec or friends to avoid the overhead of function calls is like
> pushing your car to work to avoid the overhead of having to get in and
> out of the car.
And, of course, exec *is* a function call (explicitly in 3.x, but
somewhere also in the innards of 2.x).
Thanks for the laugh of the day.
--
Terry Jan Reedy
More information about the Python-list
mailing list