Comment 4 for bug 343992

Revision history for this message
Fernando Perez (fdo.perez) wrote : Re: [Bug 343992] Re: Overzealous introspection

On Mon, Sep 14, 2009 at 8:26 AM, Jon Guyer <email address hidden> wrote:
> That does the trick, thanks.
>
> I guess it's too late in the game to choose some other magic character
> that doesn't conflict with Python.

Well, the good thing is that in python 3.x, they are going to
deprecate % formatting in favor of the new style using {} placeholders
and a .format() method for strings. So this issue will fade away as
we transition to 3.x in the long run.

However, I'm keeping this bug open because we may also be able to make
ipython smarter so the magic rewriting does not kick in for multiline
strings. It's still our bug, and we should fix it.

But I'm glad to be able to have a workaround for now.

Cheers,

f