https://github.com/sagemath/sage/issues/35897

On Tue, 4 Jul 2023 at 16:25, Vincent Delecroix
<20100.delecr...@gmail.com> wrote:
>
> This is a bug in the __repr__ method of EdgesView. Thanks for your report.
>
> On Tue, 4 Jul 2023 at 10:52, Georgi Guninski <ggunin...@gmail.com> wrote:
> >
> > Graph([('A','B'),(1,2)]).edges()
> > <repr(<sage.graphs.views.EdgesView at 0x7fe9a43c0a00>) failed:
> > TypeError: unsupported operand parent(s) for <: 'Integer Ring' and
> > '<class 'str'>'>
> >
> > I think this is related to sorting the edges.
> >
> > The following works:
> > sage: Graph([("A",1),("B",2)]).edges()
> > [(1, 'A', None), (2, 'B', None)]
> >
> > --
> > 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 view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-devel/CAGUWgD9zHPdu2ifxaMOc%3DEaUN5B9A_v6RmDXMLkFLCvc-Etc0w%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAGEwAA%3D2hNRdkCZq%3DwmZL1cfAR2NikEquagmZTZVf2ZN%2BoPFjA%40mail.gmail.com.

Reply via email to