[IPython-dev] Multiple outputs per input line

Thomas Kluyver takowl at gmail.com
Mon Mar 14 13:40:02 EDT 2011


On 14 March 2011 17:22, Robert Kern <robert.kern at gmail.com> wrote:

> You would just ORDER BY the autoincrementing primary key.
>

Indeed. And then fold together the outputs matching a single input. But I
prefer it the way I've done it.

 But anyways, as Brian points out, we did decide some time ago that exactly
> one
> output should go to the displayhook, and the current behavior is probably a
> regression. For the SQLite history, just use the last one.
>

OK. I'll leave it as is for now, because I can get the multiple outputs at a
plain Python prompt, so it doesn't seem immediately "wrong". If we do remove
that possibility, I'll put it back to assuming single outputs.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110314/ba8e41f4/attachment.html>


More information about the IPython-dev mailing list