Campbell Barton added the comment:

Agree PyOS_PutEnv would be good since its not restricted to string encoding and 
resolves the problem of not being able to control env vars for an embedded 
interpreter in general.

Having ways to change encoding is good too but a bit outside the scope of this 
report and possibly not the best solution either since its possible (through 
unlikely), that you need to set the encoding at the very start of python 
initialization- rather than site & builtin modules loads.

----------

_______________________________________
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