Comment #80 on issue 1598 by smichr: New polynomials manipulation module
http://code.google.com/p/sympy/issues/detail?id=1598

I ran into some problems (see issue 1725) when trying to do an equality test. If you
would write

if isinstance(b, AlgebraicNumber)

rather than

if not b.is_AlgebraicNumber:

then b=='foo' will not fail (since 'foo' has no attribute is_AlgebraicNumber). This should probably be a sympy wide standard for equality testing: first see if it's an
instance of what you are interested in

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@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.

Reply via email to