Message224194
I backported and adapted most Python 3 fixes related to the Windows binary mode for stdout/stderr used when Python is started with the -u command line option. See attached binary.patch.
My change to file.write() looks wrong because the function returns None and does not loop until all bytes are written.
By the way, string_write() doesn't check if fwrite(n) wrote less than n bytes or failed with an error.
See also the issue #21090 which improves error handling in the file object. |
|
Date |
User |
Action |
Args |
2014-07-28 21:49:42 | vstinner | set | recipients:
+ vstinner, r.david.murray, msp |
2014-07-28 21:49:41 | vstinner | set | messageid: <1406584181.83.0.692706928653.issue21946@psf.upfronthosting.co.za> |
2014-07-28 21:49:41 | vstinner | link | issue21946 messages |
2014-07-28 21:49:41 | vstinner | create | |
|