STINNER Victor added the comment: >> Another problem is that PyUnicode_FromString() failure is not handled >> correctly in some cases. PyUnicode_FromString() can fail because an decoder >> error, but also because of a MemoryError.
> It can't fail on "stdout" because an decoder error. It can fail on "stdout" because of a memory allocation failure. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19512> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com