On Sunday, January 8, 2017 at 10:14:32 AM UTC+1, Marc Mezzarobba wrote: > > Simon King wrote: > > Wouldn't it be better to [...] or change the > > arithmetic operations by *avoiding* a call to __init__()? > > That's what the branch I pointed to tries to do, to some extent at > least. But the structure of generic polynomial classes (with many > operations implemented in an abstract a base class, then a Cython > subclass for the generic dense data structure, and a hierarchy of Python > sub-subclasses that uses multiple inheritance) doesn't make it easy to > avoid the calls to __init__() entirely without deeper changes. > > -- > Marc > Sorry for hijacking the thread, but is this something that could be interesting to keep in mind / work on if the GSoC project on redesigning polynomials in Sage gets underway:
https://wiki.sagemath.org/GSoC/2017#Redesigning_the_polynomial_class_hierarchy_and_linking_with_libraries Best, Johan -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.