In the code below, 'check' is the function listed first in `test_pickling` >>> y = Symbol('y') >>> y.is_commutative True >>> check(Symbol('y', commutative=False)) >>> y.is_commutative False >>> check(Symbol('y', commutative=True)) >>> y.is_commutative False >>> Symbol('y', commutative=True).is_commutative False
Why is the assumption getting locked up? I'm guess this has to do with __xnew_cached_ caching the Symbol but am not sure how to fix it (or why Symbol but not Dummy uses __xnew_cached_). -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.