On Wednesday, 16 December 2015 09:21:21 UTC, Jeroen Demeyer wrote:
>
> On 2015-12-16 01:01, Dima Pasechnik wrote: 
> > this was a result of 
> > b2094a8a (Jeroen Demeyer     2015-11-18 15:53:34 +0100 1402) 
> > 
> > which did change 
> > 
> >         description = G._gap_().StructureDescription().__str__() 
> > 
> > to 
> > 
> >         description = str(G._gap_().StructureDescription()) 
> > 
> > but these calls are not 100% the same: 
>
> Confirmed, but surprising. I always thought that str(X) would call 
> X.__str__()... 
>

apparently it calls __repr__()

sage: groups.matrix.GL(4,2)._gap_().StructureDescription().__repr__()
'"A8"'
 

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

Reply via email to