[IPython-dev] No displayhook triggered for raw 'asdf'
Thomas Kluyver
takowl at gmail.com
Sun Jan 23 07:58:36 EST 2011
Just to add to that, trying it in qtconsole, it gives the continuation
prompt:
In [0]: "hi"
...:
Also, I don't know if it's useful information, but I just updated IPython 3k
from master, and I can't replicate this in either the terminal or the
qtconsole. So perhaps it's tied to character encoding somehow.
Thomas
On 23 January 2011 02:57, Brian Granger <ellisonbg at gmail.com> wrote:
> Fernando,
>
> Thomas reported this on IRC today. In current trunk we have a bug:
>
> In [1]: "asdf"
>
> In [1]: 10
> Out[1]: 10
>
> This happens also in my display branch. I have also checked to make
> sure this is not in the display hook logic. The displayhook is indeed
> set correctly, but it is just not firing:
>
> In [2]: import sys
>
> In [3]: sys.displayhook("asdf")
> Out[3]: 'asdf'
>
> The only thing I can imagine is that the
> run_cell/run_source/run_run_code now makes decisions about mode things
> get compiled in, and this is the only thing (in our control) that
> determines if displayhook is called. Any ideas on this one? You know
> this part of the code better than any of us.
>
> Cheers,
>
> Brian
>
> --
> Brian E. Granger, Ph.D.
> Assistant Professor of Physics
> Cal Poly State University, San Luis Obispo
> bgranger at calpoly.edu
> ellisonbg at gmail.com
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110123/6bc33371/attachment.html>
More information about the IPython-dev
mailing list