[IPython-dev] A couple of odd behaviours...

Carl Smith carl.input at gmail.com
Thu Nov 8 12:21:38 EST 2012

I've got this line...

[IPKernelApp]    Content: {'user_variables': [], 'allow_stdin': True,
'code': "try:\n    _usage\nexcept:\n    from IPython.core import usage
as _usage\n    get_ipython().register_magic_function(_usage.page_guiref,
'line', 'guiref')\n    del _usage", 'user_expressions': {}, 'silent':

There's this similar looking one too...

[IPKernelApp]    Content: {'user_variables': [], 'allow_stdin': True,
'code': '', 'user_expressions':
'get_ipython().magics_manager.lsmagic_info()'}, 'silent': True}

On 8 November 2012 17:10, Thomas Kluyver <takowl at gmail.com> wrote:
> On 8 November 2012 17:00, Carl Smith <carl.input at gmail.com> wrote:
>> I had to quickly set things up, but yeah, everything works according
>> to spec in the console. It's just the Notebook. I'd ask on the adb
>> list if there's anything unusual about how it works, but I think it
>> was done in house by Google. I'm not sure. I'll have to look into it.
> Hmm, that's really weird, because the Qt console and the notebook use the
> same kernel. Can you try starting with "ipython qtconsole --debug", and
> finding the lines that look like this:
> [IPKernelApp]    Content: {'user_variables': [], 'code': '!pwd\n', 'silent':
> False, 'allow_stdin': True, 'store_history': True, 'user_expressions': {}}
>    --->
> [IPythonQtConsoleApp] stream: {'data':
> '/home/thomas/Code/ubuntu/unattended-upgrades\r\n', 'name': 'stdout'}
> Thomas
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

More information about the IPython-dev mailing list