sympy/sympy — pull request #710 by smichr (2011-11-11 09:48:51+00:00)
Title: Expandmul

Now expand_mul will return a flat result:

```python
(x*sqrt(x + y)*(1 + sqrt(x + y))).expand() == x**2 + x*y + x*sqrt(x + y)
```

rather than `x*sqrt(x + y) + x*(x + y)`

There are also some other minor edits in mul.py

http://code.google.com/p/sympy/issues/detail?id=2644