Filip Gruszczyński <grusz...@gmail.com> added the comment:

The problem occurs in line in bltinmodule.c:

                po = PyUnicode_AsEncodedString(stringpo,
                        _PyUnicode_AsString(stdout_encoding), NULL);

Where _PyUnicode_AsString returns NULL, since stdout_encoding is Py_None and 
that won't pass PyUnicode_Check in _PyUnicode_AsStringAndSize. To what object 
can _PyUnicode_AsString be turned and then passed to 
_PyUnicode_AsStringAndSize? Is there some default 'utf-8' encoding object?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8256>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to