Sorry for not responding to this. I had been waiting for Continuum to
build PySide for Python 3 on Mac OS X so I could test it, but today,
playing around with the printing in the notebook, I came across the
same issue. The fix is at
https://github.com/sympy/sympy/pull/2398.
Can you let me know if it fixes the issue for you?
And by the way, SYMPY_DEBUG currently doesn't print anything for the
printing, but I added some debug output at
https://github.com/sympy/sympy/pull/2397 (and by the way, other than
this and the warning about gmpy, the only code that uses debug that I
know of is the limit code and one of the integration algorithms).
Aaron Meurer