Message90813
The workaround of using:
#if defined(WIN32) && PY_MAJOR_VERSION >= 3
_wputenv(L"PYTHONIOENCODING=cp1252:backslashreplace");
#endif
Py_Initialize();
gets around the crash on startup.
I haven't done sufficient testing to know if this may introduce any other
problems given that one is overriding default I/O encoding for whole
process. |
|
Date |
User |
Action |
Args |
2009-07-22 12:15:34 | grahamd | set | recipients:
+ grahamd, amaury.forgeotdarc |
2009-07-22 12:15:34 | grahamd | set | messageid: <1248264934.06.0.302530443055.issue6501@psf.upfronthosting.co.za> |
2009-07-22 12:15:32 | grahamd | link | issue6501 messages |
2009-07-22 12:15:32 | grahamd | create | |
|