>> >> No. Better use a immutable data structure instead of a list.
Thinking more about it, what should that be? A tuple? That suddenly makes the name of the function pretty strange. And does a tuple behave exactly like a list in all regards? This touches a very fundamental class in Sage: Parent. I'm sure Parent.list() is used for all sorts of stuff everywhere in Sage. I'm seriously surprised this bug hasn't shown up before... Best, Johan Johan S. R. Nielsen writes: > On Tuesday, May 31, 2016 at 2:35:46 PM UTC+2, Jeroen Demeyer wrote: >> >> No. Better use a immutable data structure instead of a list. >> > > Oh yeah, that's much better. -- -- 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.