Hello,
There is an annoying difference between gap and libgap with respect to
indexing: gap indices start at 1 and libgap indices start at 0...
sage: l0 = libgap.List([1,2,3])
sage: l1 = gap.List([1,2,3])
sage: l0[0]
1
sage: l1[1]
1
The behavior of gap interface respects the gap behavior while the libgap
interface respects the Python behavior.
1) I think that the conventions for gap and libgap should be the same
2) I am in favor at starting with 1
I opened #18158 for that. Please tell me what you think either on this
thread or on the ticket.
Cheers,
Vincent
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.