octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50756] display of objects in cell array is su


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #50756] display of objects in cell array is suppressed
Date: Fri, 7 Apr 2017 20:47:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, bug #50756 (project octave):

So if a class intentionally overrides both disp and display, or doesn't
override disp, is it correct that we want display(c), where c is a cell array
containing an object, to call disp(x) on the object, not display(x)?

The result of this decision is that the screen output of c may appear
different from the screen output of c{1}.

I'm pointing this out because both the @pyobject class (in pytave) and the
@sym class (in the symbolic package) have both disp and display overrides
which give slightly different output. In both cases display does call disp,
but it adds a bit of information about the _type_ of the variable in addition
to its text representation.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50756>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]