If you want your objects to inherit Basic so that you get various SymPy functions like subs then use FiniteSet. If you don't care about these then use frozenset. It is faster, simpler, and less prone to error.
On Tue, Jun 5, 2012 at 9:49 AM, [email protected] < [email protected]> wrote: > About your second question: > > check out the built-in frozenset (it is hashable) and the > _hashable_content method of Basic > > -- > 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. > > -- 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.
