Message188332
| Author |
terry.reedy |
| Recipients |
eric.araujo, ezio.melotti, r.david.murray, techtonik, terry.reedy |
| Date |
2013年05月03日.23:19:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1367623170.42.0.0952826095107.issue17859@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think the point is that the error message does not make much sense unless one knows a) that the file is open in binary mode (and that could have happened in a different file) and b) that 'does not support the buffer interface' means 'is not a bytes-like object'. A possible replacement that addresses both problems:
binary-mode write requires bytes-like object, not 'int' |
|