Author christian.heimes
Recipients Arfrever, asvetlov, christian.heimes, ideasman42, lemburg, loewis, vstinner
Date 2012-11-28.06:30:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354084227.41.0.557917685051.issue16129@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-11-28 06:30:27christian.heimessetrecipients: + christian.heimes, lemburg, loewis, vstinner, Arfrever, asvetlov, ideasman42
2012-11-28 06:30:27christian.heimessetmessageid: <1354084227.41.0.557917685051.issue16129@psf.upfronthosting.co.za>
2012-11-28 06:30:27christian.heimeslinkissue16129 messages
2012-11-28 06:30:27christian.heimescreate