Author ezio.melotti
Recipients eric.araujo, ezio.melotti, r.david.murray, techtonik, terry.reedy
Date 2013-05-04.15:32:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367681557.33.0.62090884273.issue17859@psf.upfronthosting.co.za>
In-reply-to
Content
> binary-mode write requires bytes-like object, not 'int'

Looks like the function that raises the error (Objects/abstract.c:352) doesn't have enough information to produce a message like that.
I attached a patch to #16518 that improves this and other error messages (this particular error is replaced by "a bytes-like object is required, not 'int'").
History
Date User Action Args
2013-05-04 15:32:37ezio.melottisetrecipients: + ezio.melotti, terry.reedy, techtonik, eric.araujo, r.david.murray
2013-05-04 15:32:37ezio.melottisetmessageid: <1367681557.33.0.62090884273.issue17859@psf.upfronthosting.co.za>
2013-05-04 15:32:37ezio.melottilinkissue17859 messages
2013-05-04 15:32:37ezio.melotticreate