[issue23637] Warnings error with non-ascii chars.

Serhiy Storchaka report at bugs.python.org
Fri Mar 13 21:22:36 CET 2015


Serhiy Storchaka added the comment:

Here is a patch that tries to coerce non-ascii filename and line to unicode using appropriate encoding if it is needed and possible. If it is not possible, the warning just gets lost, as in the case of IO error.

----------
keywords: +patch
stage:  -> patch review
Added file: http://bugs.python.org/file38475/warnings_unicode.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23637>
_______________________________________


More information about the Python-bugs-list mailing list