On May 16, 2:47 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> On 16 mai, 23:23, [EMAIL PROTECTED] wrote:
>
> > Thanks for the responses. I'm well aware that the function can be
> > passed in the parameters, passing in the functino as an arg defeats
> > the purpose of what I'm going after.
>
Thanks for the responses. I'm well aware that the function can be
passed in the parameters, passing in the functino as an arg defeats
the purpose of what I'm going after.
@ Arnaud - Nice. I'm not sure what the performance of mine vs. yours,
but a perfunctory glance looks like we're doing the clos
Sorry for the repost, didnt' quite finish
Suppose I have a function in module X that calls eval e.g,
X.py
___
Def foo(bar):
Eval(bar)
___
Now eval will be called using the default eval(bar,globals(),locals())
and globals will pull in anything in module X.
Now I have module Y tha
Suppose I have a function in module X that calls eval e.g,
X.py
___
Def foo(bar):
Eval(bar)
___
Now eval will be called using the default eval(bar,globals(),locals())
and globals will pull in anything in module X.
Now I have module Y that calls bar like so
Y.py
from x im