Comment #12 on issue 880 by asmeu...@gmail.com: Remove Matrix.__hash__
http://code.google.com/p/sympy/issues/detail?id=880
Right now, it breaks because some functions in the matrix expressions pass
mutable matrices on to Function.eval for things like adjoint, which is
cached. I think the solution is to not cache such things, but it's not so
easy. collections.Hashable is really stupid; isinstance(a,
collections.Hashable) works if a.__hash__ == None, but isinstance((a,),
collections.Hashable) doesn't. So I guess we just have to catch TypeError
in the cache.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.