[issue10080] Py_Initialize crashes when stdout has been redirected with freopen

Mitchell Stokes report at bugs.python.org
Wed Oct 13 18:38:07 CEST 2010


Mitchell Stokes <mogurijin at gmail.com> added the comment:

Setting PYTHONIOENCODING=cp1252 does not help.

Also, dup2 is not available on Windows (at least not from what I've read). >From my understanding, freopen() is supposed to be the portable way to redirect stdout.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10080>
_______________________________________


More information about the Python-bugs-list mailing list