Serhiy Storchaka added the comment: > I considered that, but is it guaranteed that the output encoding is UTF-8?
PyErr_WarnExplicit() calls PyUnicode_FromString() which made an inverse decoding from UTF-8. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17792> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com