[IPython-dev] question about command line options

Thomas Kluyver takowl at gmail.com
Wed Mar 18 18:32:34 EDT 2015


On 18 March 2015 at 15:10, Kyle Rawlins <rawlins at gmail.com> wrote:

> Just to double check, part of what was throwing me is that the following
> _does_ cause something to be printed in IPython 3:
>         ipython notebook --'IPKernelApp.exec_lines=[print(23)]’


Yep, that's a bizarre side effect of the way we handle command line options
(the print call actually gets evaluated as we parse the options). It should
be fixed in 3.1 by this PR:
https://github.com/ipython/ipython/pull/8030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150318/82271d01/attachment.html>


More information about the IPython-dev mailing list