Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Printing DeprecationRemoval

New issue 3984 by [email protected]: preview should use BytesIO instead of StringIO
http://code.google.com/p/sympy/issues/detail?id=3984

StringIO doesn't work in preview() Python 3 because it is more rigorous about using bytes objects when the data is bytes. That's what the viewer='StringIO' needs to be changed to use BytesIO (from the standard library io module http://docs.python.org/2/library/io.html?highlight=bytesio#io.BytesIO). This exists since Python 2.6, so there is no need to continue supporting StringIO. viewer='StringIO' will be deprecated, though, and automatically change to BytesIO.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to