[IPython-dev] Multiple outputs per input line
benjaminrk at gmail.com
Sun Mar 13 18:17:40 EDT 2011
output is a separate table, right?
I think I'm in favor of the input-id not being unique in the output
table, and just returning a list (None if len 0, or the element if the
list is length 1).
On Sun, Mar 13, 2011 at 15:11, Thomas Kluyver <takowl at gmail.com> wrote:
> On 13 March 2011 20:56, Fernando Perez <fperez.net at gmail.com> wrote:
>> One thing we could do (that's what mathematica uses) is to simply
>> increase the counter every time an *output* is produced. The logic
>> does get a little more complex, but it lets us retain uniqueness
>> throughout. What do you think?
> But many inputs don't produce any output, so we'd have to increment the
> counter on every input or output, which just feels...unwieldy. I think the
> numbering system we've got now, with one number per input cell, makes most
> sense. It means if you do "%macro thing 5-10", you know you're getting 6
> commands. That said, I've never used Mathematica, so I don't know how neatly
> it works there.
> IPython-dev mailing list
> IPython-dev at scipy.org
More information about the IPython-dev