I made https://trac.sagemath.org/ticket/21269



On Wednesday, August 17, 2016 at 10:04:47 AM UTC+2, Martin R wrote:
>
> While working on the new fricas interface, I noticed that the 
> method __repr__ in sage.interfaces.InterfaceElement is always called twice. 
>  Apparently, once by __call__ in fancy_repr.py, and a second time by 
> _repr_pprint in pretty.py.
>
> Is this intentional?
>
> The problem is that in the interface world, __repr__ needs to call the get 
> method from the respective interface, which has to communicate with the 
> foreign software to retrieve what is going to be displayed.  I'm not sure 
> how much work this is for the computer, but it is confusing when debugging.
>
> Martin
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to