Christian Heimes added the comment:

At first glance your proposed fix looks like an easy hack to get around the 
issue. However it's not going to work properly. Embedded Python interpreters 
should isolate themselves from the user's environment. When 
`Py_IgnoreEnvironmentFlag` is enabled, Py_GETENV() always returns NULL.

IMHO we can't get around Py_GetIOEncoding(), Py_SetIOEncoding() and 
Py_IOEncoding.

----------
nosy: +christian.heimes

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

Reply via email to