sympy/sympy — pull request #1247 by jrioux (2012-04-17 11:35:01+00:00)
Title: Set printing issues

Printing set and frozenset now looks like this:

```
>>> print str(set([y**2, x**2, x*y]))
set([x*y, x**2, y**2])
>>> print str(frozenset([x**2, x*y, y**2]))
frozenset([x*y, x**2, y**2])
>>> print pretty(set([y**2, x**2, x*y]))
2 2
set([x , y , x*y])
>>> print pretty(frozenset([x**2, x*y, y**2]))
2 2
frozenset([x , y , x*y])
>>> print latex(set([y**2, x**2, x*y]))
\left\{x^{2}, y^{2}, x y\right\}
>>> print latex(frozenset([x**2, x*y, y**2]))
\left\{x^{2}, y^{2}, x y\right\}
```

Fixes these issues:
http://code.google.com/p/sympy/issues/detail?id=3062
http://code.google.com/p/sympy/issues/detail?id=3063