Le vendredi 10 février 2012 à 06:23 -0800, smichr a écrit :
> Does anyone know how to fix this problem in Py3.2:
> 
> ...
>     return func_cache_it_cache[k]
> TypeError: unhashable type: 'RegularPolygon'
> 
> What makes something hashable or unhashable? Everything passes in 2.7.

The most probable cause is that the class defines __eq__ but not
__hash__.

-- 
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.

Reply via email to