Message188370
| 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'"). |
|