Ezio Melotti added the comment: > 'object' object cannot be converted to bytes
This is not entirely accurate for the bytes(int) case though, since it's not converting the int to bytes. OTOH if we want to keep the message short we have to make compromises about accuracy and completeness. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17339> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com