Message305756
| Author | eryksun |
|---|---|
| Recipients | Guillaume Aldebert, eryksun, paul.moore, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware |
| Date | 2017-11-07.13:29:07 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1510061347.87.0.213398074469.issue31966@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |