Comment #6 on issue 2587 by [email protected]: Strange printing at SymPy Live
http://code.google.com/p/sympy/issues/detail?id=2587

It is *definitely* pickling. In a regular IPython console with the git master sympy:

In [58]: f = 1/(x**2*(x**2 + 1))

In [63]: pickle.loads(pickle.dumps(f))
Out[63]:
      1
─────────────
 2 ⎛ 1      ⎞
x ⋅⎜──── + 1⎟
   ⎜⎛1 ⎞    ⎟
   ⎜⎜──⎟    ⎟
   ⎜⎜ 2⎟    ⎟
   ⎝⎝x ⎠    ⎠

In [64]: pickle.loads(pickle.dumps(f, -1))
Out[64]:
      1
─────────────
 2 ⎛ 1      ⎞
x ⋅⎜──── + 1⎟
   ⎜⎛1 ⎞    ⎟
   ⎜⎜──⎟    ⎟
   ⎜⎜ 2⎟    ⎟
   ⎝⎝x ⎠    ⎠

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

Reply via email to