[IPython-dev] Evaluation bug in Interpreter?

Fernando Perez fperez.net@gmail....
Thu Aug 14 07:55:54 CDT 2008


On Wed, Aug 13, 2008 at 8:44 AM, Gael Varoquaux
<gael.varoquaux@normalesup.org> wrote:
> I hit this behavior, with the ipython1 interpreter:
>
> ===============================================================================
> In [6]: from IPython.kernel.core.interpreter import Interpreter
>
> In [7]: i = Interpreter()
>
> In [8]: i.execute(u'dedent(""" a\n b\n c""")\n\n')

Bug.  It's splitting the lines wrong:


ipdb> print cmd
 c""")

File it on lp so we don't lose track...

Cheers,

f


More information about the IPython-dev mailing list