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 <>
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:30terry.reedysetrecipients: + terry.reedy, techtonik, ezio.melotti, eric.araujo, r.david.murray
2013-05-03 23:19:30terry.reedysetmessageid: <>
2013-05-03 23:19:30terry.reedylinkissue17859 messages
2013-05-03 23:19:30terry.reedycreate