Message378029
> config_init_stdio() is not called in an isolated configuration:
config_init_stdio wasn't being called anyway since Py_Initialize uses _PyConfig_InitCompatConfig. The issue was primarily due to the LC_CTYPE locale being set to the default user locale, as I discussed in msg378024.
Note that for legacy mode, i.e. Py_LegacyWindowsStdioFlag = 1, there's no simple way to not modify the standard I/O files. The io stack needs binary mode. You'd have to use and modify duped file descriptors. |
|
Date |
User |
Action |
Args |
2020-10-05 13:26:54 | eryksun | set | recipients:
+ eryksun, paul.moore, vstinner, tim.golden, ezio.melotti, zach.ware, steve.dower, twoone3 |
2020-10-05 13:26:54 | eryksun | set | messageid: <1601904414.0.0.233035440835.issue41941@roundup.psfhosted.org> |
2020-10-05 13:26:53 | eryksun | link | issue41941 messages |
2020-10-05 13:26:53 | eryksun | create | |
|