[IPython-dev] Evaluation bug in Interpreter?

Fernando Perez fperez.net at gmail.com
Thu Aug 14 08:55:54 EDT 2008


On Wed, Aug 13, 2008 at 8:44 AM, Gael Varoquaux
<gael.varoquaux at 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