Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium Printing

New issue 2207 by [email protected]: Can't pretty-print dicts with non-Expr keys
http://code.google.com/p/sympy/issues/detail?id=2207

In isympy:

In [1]: {Basic(): 1, Basic(Basic()): 2}
<long traceback>
AttributeError: 'Basic' object has no attribute 'as_base_exp'

The problem is that Basic._compare_pretty() assumes that its arguments are instances of Expr.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to