basic=True is supposed to be a way for other classes to implement expand() 
functionality that doesn't match any other hint (see the docstring of 
expand()).  Its name comes from Basic().  So we should use a different hint 
name, I think.

But I do agree that we could just have some hint to expand that does it 
(although a separate function would also be fine).  Did your expand() hint 
manager ever make it in?

Aaron Meurer

On Feb 25, 2011, at 1:28 PM, Chris Smith wrote:

> I just found that the key to getting the failing recurence test to work is to 
> educate Add's flatten about the unexpected undistributed Number. See add.py 
> in my branch if you you are interested. All tests in that branch now pass. If 
> that's working, then perhaps all that would remain is adjusting the tests so 
> they look right.
> 
> Also, I wonder if expand(basic=True) might be the place to put the 
> distribution of the Number into a single Mul.
> 
> /c

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

Reply via email to