Brett Cannon added the comment:

And what happens if you leave -v off? Since the failure is in Py_Initialize I 
want to know if that Py_FatalError trigger is avoided without -v.

A possible fix to test is to simply modify 
importlib._bootstrap._verbose_message to catch UnicodeDecodeError and then 
print some message saying that there was some undecodable string and just 
swallow the exception. I just don't know if this is in the right place to 
prevent Py_Initialize from erroring out.

----------

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

Reply via email to