Message386071
PyPreConfig cfg;
PyPreConfig_InitPythonConfig(&cfg);
cfg.utf8_mode = -1;
PyStatus status = Py_PreInitialize(&cfg);
if (PyStatus_Exception(status)) {
Py_ExitStatusException(status);
}
I use this to test,there are no exceptions |
|
Date |
User |
Action |
Args |
2021-02-01 14:25:52 | twoone3 | set | recipients:
+ twoone3, christian.heimes |
2021-02-01 14:25:52 | twoone3 | set | messageid: <1612189552.38.0.232851065444.issue43091@roundup.psfhosted.org> |
2021-02-01 14:25:52 | twoone3 | link | issue43091 messages |
2021-02-01 14:25:52 | twoone3 | create | |
|