[IPython-dev] timeit cell-mode bug?

Thomas Kluyver takowl at gmail.com
Sun May 27 19:45:26 EDT 2012


On 28 May 2012 00:39, Tony Yu <tsyu80 at gmail.com> wrote:
> Speaking of `timeit` I noticed that it returns without execution if no setup
> code is given. For example,
>
> %%timeit
> 2**2
>
>
> will return without execution. A simple change to the magics def seems to
> work on my
> system: https://github.com/tonysyu/ipython/commit/4f6b8aa607f6fa35fcf17387a8d248c56aedcc6f

Well caught - can you make a pull request with that change?

Thanks,
Thomas



More information about the IPython-dev mailing list