Message266977
Patch B changes _Py_device_encoding() to accept a file descriptor of 3, which seems wrong to me.
Patch A is like the earlier patch, but calls os.device_encoding(1) instead of relying on sys.stdout, etc. I think this will still fail when the Python parent’s stdout was never open (then fd 1 will be invalid, or used as something else). |
|
Date |
User |
Action |
Args |
2016-06-02 22:46:17 | martin.panter | set | recipients:
+ martin.panter, paul.moore, vstinner, tim.golden, ezio.melotti, zach.ware, eryksun, steve.dower, davispuh |
2016-06-02 22:46:17 | martin.panter | set | messageid: <1464907577.59.0.591258072299.issue27179@psf.upfronthosting.co.za> |
2016-06-02 22:46:17 | martin.panter | link | issue27179 messages |
2016-06-02 22:46:17 | martin.panter | create | |
|