Come to think of it, I just spotted a little bug in libgap:

sage: p= Permutation([ (1, 2, 3), (4, 5) ])
sage: pp= libgap( p ); pp

[ 2, 3, 1, 5, 4 ]

Here pp is a list, not a permutation ! GAP should respond (1,2,3)(4,5), 
regardless of Sage's default behaviour of printing permutations as lists.

Of course one can use libgap.eval( p.cycle_string() ) but that's awkward. As is 
libgap.PermList( p )

Pierre

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

Reply via email to