Message223403
I have made some updates in the streams code. Better error handling (getting errno by GetLastError() and raising exception when zero bytes are written on non-zero input). This prevents the infinite loop in BufferedIOWriter.flush() when there is odd number of bytes (WriteConsoleW accepts UTF-16-LE so only even number of bytes is written). It also prevents the same infinite loop when the buffer is too big to write at once (see http://bugs.python.org/issue11395 ). The limit of 32767 bytes was added to raw write. |
|
Date |
User |
Action |
Args |
2014-07-18 09:04:07 | Drekin | set | recipients:
+ Drekin, lemburg, mhammond, terry.reedy, tzot, amaury.forgeotdarc, ncoghlan, pitrou, vstinner, giampaolo.rodola, christian.heimes, tim.golden, mark, christoph, ezio.melotti, v+python, hippietrail, ssbarnea, flox, davidsarah, santoso.wijaya, akira, David.Sankel, smerlin, steve.dower |
2014-07-18 09:04:06 | Drekin | set | messageid: <1405674246.97.0.970150633909.issue1602@psf.upfronthosting.co.za> |
2014-07-18 09:04:06 | Drekin | link | issue1602 messages |
2014-07-18 09:04:06 | Drekin | create | |
|