On 8 January 2016 at 12:16, Daniel Krenn <kr...@aon.at> wrote: > PPS: At the moment (not having answers to this posting), my favourite > implementation would be something like > def is_constant(self): > return not self.variables() >
To give an obvious counter-example: SR(random()).is_constant() but perhaps easily remedied. Bill Page. -- 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.