Message224194
| Author |
vstinner |
| Recipients |
msp, r.david.murray, vstinner |
| Date |
2014年07月28日.21:49:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1406584181.83.0.692706928653.issue21946@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|