[IPython-User] question about cell magic
Thu Jun 21 15:38:40 CDT 2012
On Thu, Jun 21, 2012 at 4:36 PM, Fernando Perez <email@example.com>wrote:
> On Thu, Jun 21, 2012 at 1:26 PM, Zoltán Vörös <firstname.lastname@example.org> wrote:
> > When I run the code above, the kernel returns immediately, and it does
> > produce any output. On the other hand, if I run this
> That's very strange and I can't reproduce your problem, it works
> perfectly OK for me here:
> In : %%timeit
> ...: x = 0
> ...: for i in range(100000):
> ...: x += i**2
> 100 loops, best of 3: 17.3 ms per loop
> This was tested at the console, qt console and notebook and it works
> the same in all three cases.
> I have no idea how what you report can even be happening, as both
> %timeit and %%timeit use the exact same codepaths, only a tiny amount
> at the start is different.
This sounds like an issue from an older checkout, and it should be fixed in
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User