Comment #17 on issue 1798 by ronan.l...@gmail.com: Refactoring Basic
http://code.google.com/p/sympy/issues/detail?id=1798

However, if we take seriously the idea that "Basic doesn't do math" I think the
following methods should be moved to Expr as well:

__lt__, __gt__, __le__, __ge__ => currently these represent mathematical
inequalities, move to Expr

I've just transferred it (and pushed the commit to github) and, surprisingly, it works without any other change. There's more to do on that subject though, in order
to consistently follow the Python 3 model.

is_hypergeometric: seems pretty math-ish.  Will this go away once the new
assumptions are in place?

I haven't touched the is_* methods, assuming that they'll be completely refactored
under the new system.

has_piecewise: same

This should be refactored using pattern matching, so I didn't touch it either.

as_poly: all the other as_foo methods are in Expr, why not this?

I didn't move it because I was waiting for the new polynomials to be merged in. Now,
I think it should probably be refactored away, not moved.

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