Issue 1170: problem with printing in 2.6
http://code.google.com/p/sympy/issues/detail?id=1170
Comment #1 by ondrej.certik:
Here is a simple script, that reproduces the problem:
$ cat r.py
from sympy import *
from sympy.core.basic import StrPrinter
var("x")
spr = StrPrinter.doprint
e1 = [x**3, 1, x**4, x, x**2]
e2 = [1, x, x**2, x**3, x**4]
items = list(e1)
print items
items.sort( Basic.compare_pretty )
print items
--
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 [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-issues?hl=en
-~----------~----~----~----~------~----~------~--~---