[IPython-dev] Feature request/how?
vivainio at kolumbus.fi
Tue Feb 22 09:59:51 CST 2005
On Tue, 2005-02-22 at 09:29 -0500, Charles Moad wrote:
> Is it not possible to include assignment operators as well? Only
>simple expressions seem to work.
Yeah, that's because the code uses eval instead of exec. It might make
more sense to use exec.
However, I can't help but think something like this should be done with
the "timeit" module. I don't know if there is a way to force it to use
ipython's namespace instead of the namespace of timeit-module - perhaps
this is something that could be done with a patch to the timeit module.
More information about the IPython-dev