Hello, I have the class DiagramGrid, which can be constructed from an instance of the class Diagram. At construction, DiagramGrid does some fancy reasoning and comes up with some internal data, which it would like to store. Instances of DiagramGrid are perfectly immutable, thus it could store everything in .args. However, I am never going to allow DiagramGrid(*other_grid.args), because the internal data DiagramGrid computes is really internal. Does this mean that I cannot store internal data in .args?
More generally, how strict should be the correspondence between the arguments of a constructor of a class and .args? While I have been interacting with Basic for quite some time and superficially following the related threads on the mailing list, it's still not clear to me how to proceed in this case. I am sorry if this question is primitive. 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.
