Message305756
The error is in _io__WindowsConsoleIO_write_impl. If it's passed a length 0 buffer, it still tries to decode it via MultiByteToWideChar, which fails as documented. As Serhiy says, it can simply return Python int(0) in the zero-length case. |
|
Date |
User |
Action |
Args |
2017-11-07 13:29:07 | eryksun | set | recipients:
+ eryksun, paul.moore, vstinner, tim.golden, zach.ware, serhiy.storchaka, steve.dower, Guillaume Aldebert |
2017-11-07 13:29:07 | eryksun | set | messageid: <1510061347.87.0.213398074469.issue31966@psf.upfronthosting.co.za> |
2017-11-07 13:29:07 | eryksun | link | issue31966 messages |
2017-11-07 13:29:07 | eryksun | create | |
|