Message176515
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. |
|
Date |
User |
Action |
Args |
2012-11-28 06:30:27 | christian.heimes | set | recipients:
+ christian.heimes, lemburg, loewis, vstinner, Arfrever, asvetlov, ideasman42 |
2012-11-28 06:30:27 | christian.heimes | set | messageid: <1354084227.41.0.557917685051.issue16129@psf.upfronthosting.co.za> |
2012-11-28 06:30:27 | christian.heimes | link | issue16129 messages |
2012-11-28 06:30:27 | christian.heimes | create | |
|