[IPython-dev] Grab current namespace for magic commands

Thomas Kluyver takowl@gmail....
Tue Mar 22 11:04:13 CDT 2011


On 22 March 2011 03:03, Brian Granger <ellisonbg@gmail.com> wrote:

>
> I think there is another issue, and that is the status of magic
> command in multiline input blocks.  Fernando, what is the status of
> that type of thing?


Jumping in, because I've looked at the relevant code recently: explicit
magic commands (%time a+b) are handled in multiline input blocks. Auto-magic
(time a+b) is only handled in a single line cell, or a single line block at
the end of a multi-block cell. Fernando, please correct me if that's not
right, or I've missed anything out.

Thanks,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20110322/d57c4b82/attachment.html 


More information about the IPython-dev mailing list