By default, I agree with you -- foo.is_blah() should be boolean. However, I agree with Nathann. When there are extra parameters, we should be able to return other stuff.
On Thu, Feb 27, 2014 at 6:51 AM, Dima Pasechnik <dimp...@gmail.com> wrote: > I am reviewing http://trac.sagemath.org/ticket/15864 > and it occurs to be that foo.is_blah() should not be > allowed to return anything but True/False. > > Maybe I am being too rigid, am I not? > > It is true that there are places in Sage where one can find > foo.is_blah(certificate=True) > returning nonboolean. Today I find this rather weird, but perhaps > I am having a bad day... :-) > > Thanks, > Dima > > > -- > 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 http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.