On 2016-10-12, Jori =?ISO-8859-1?Q?M=E4ntysalo?= <jori.mantys...@uta.fi> wrote: > So we have now a common view that 'type' in TypeError should (mostly?) > refer to types in wrong class, wrong category etc; and so for functions > having no input it should (almost?) never happen.
What about ValueError? After all, in that case, we have a *method* (i.e., a function with one argument "self"), and "self" of course has the correct type but has a wrong value. Best regards, Simon -- 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.