[issue16587] Py_Initialize breaks wprintf on Windows
STINNER Victor
report at bugs.python.org
Mon Jun 23 11:48:05 CEST 2014
STINNER Victor added the comment:
"In C++ this often means using std::wstring and std::wcout. Maybe these are more common than wprintf? In any case the console output breaks as Py_Initialize hijacks the host application's standard output streams which sounds quite illegitimate to me."
On Linux, std::wcout doesn't use wprintf(). Do you mean that std::wcout also depends on the "mode" of stdout (_setmode)?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16587>
_______________________________________
More information about the Python-bugs-list
mailing list