Author Drekin
Recipients David.Sankel, Drekin, akira, amaury.forgeotdarc, christian.heimes, christoph, davidsarah, ezio.melotti, flox, giampaolo.rodola, hippietrail, lemburg, mark, mhammond, ncoghlan, pitrou, santoso.wijaya, smerlin, sorin, steve.dower, terry.reedy, tim.golden, tzot, v+python, vstinner
Date 2014-07-18.09:04:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405674246.97.0.970150633909.issue1602@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-07-18 09:04:07Drekinsetrecipients: + Drekin, lemburg, mhammond, terry.reedy, tzot, amaury.forgeotdarc, ncoghlan, pitrou, vstinner, giampaolo.rodola, christian.heimes, tim.golden, mark, christoph, ezio.melotti, v+python, hippietrail, sorin, flox, davidsarah, santoso.wijaya, akira, David.Sankel, smerlin, steve.dower
2014-07-18 09:04:06Drekinsetmessageid: <1405674246.97.0.970150633909.issue1602@psf.upfronthosting.co.za>
2014-07-18 09:04:06Drekinlinkissue1602 messages
2014-07-18 09:04:06Drekincreate