Message188332
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' |
|
Date |
User |
Action |
Args |
2013-05-03 23:19:30 | terry.reedy | set | recipients:
+ terry.reedy, techtonik, ezio.melotti, eric.araujo, r.david.murray |
2013-05-03 23:19:30 | terry.reedy | set | messageid: <1367623170.42.0.0952826095107.issue17859@psf.upfronthosting.co.za> |
2013-05-03 23:19:30 | terry.reedy | link | issue17859 messages |
2013-05-03 23:19:30 | terry.reedy | create | |
|