Comment #12 on issue 1844 by asmeurer: expand methods pruned http://code.google.com/p/sympy/issues/detail?id=1844
I don't think that was the issue there.
To be more clear, the problem there was Mul(evaluate=False) vs. Mul(evaluate=True), and how those were hashing differently.
Actually, hashing is a little different from the cache. Keyword arguments that are part of the hash (i.e., assumptions), should indeed be canonicalized to bools, so that hash(Symbol('x', real=True)) == hash(Symbol('x', real=1)), but this is not a big deal in the cache, where the worst that will happen is that you will cache the same result twice.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.