Jeroen Demeyer wrote: > (4) __pari__(): consistent with Python (__int__, __str__) and NumPy > (__array__). However, creating such names possibly goes against the > Python documentation [2].
Why "possibly"? The way I understand [2] is that __names__ are reserved for use by the Python interpreter and standard library, period. In this particular case, it is unlikely that Python ever specifies a __pari__() magic method. But if you want to do the same with all conversion methods, there could well be a conflict with some future standard python module. -- Marc -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
