On Fri, Jun 22, 2012 at 8:59 PM, [email protected] <[email protected]> wrote: > Concerning my arguments about enforcing the use of Basic in args (I > agree with your answers about the rest, however I think you missed the > point about this one (i,e, I was expressing it unintelligibly)) > > It is not that the user will have difficulties subclassing Basic for > his needs, it is that every argument to his new class must also be a > Basic. Consider named objects: you can not store a string in args.
Oh, great, thank you for making this explicit. I did fail to grasp this implication immediately :-( It's indeed is rather cumbersome. > And considering duck typing: I am fighting against the use of > __slots__ as well. This will permit some neat stuff, however it is > another issue. Yep, I've seen that discussion as well :-) Great to see that SymPy is so vibrant and that even such fundamental questions are being rather easily discussed. Sergiu -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
