[IPython-dev] timeit cell-mode bug?

Tony Yu tsyu80 at gmail.com
Sun May 27 19:50:40 EDT 2012


On Sun, May 27, 2012 at 7:45 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> 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
>
>
That was fast! Submitted as PR
1769<https://github.com/ipython/ipython/pull/1769>
.

-Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20120527/9cfb69e8/attachment.html>


More information about the IPython-dev mailing list