homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients berker.peksag, mark.dickinson, martin.panter, meador.inge, r.david.murray, serhiy.storchaka, xiang.zhang
Date 2017年05月03日.08:01:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493798504.28.0.365442040919.issue30246@psf.upfronthosting.co.za>
In-reply-to
Content
"unpack requires a bytes-like object of length %zd" is not correct too. array.array('i', [1, 2, 3]) has length 3, but Struct('3b').unpack doesn't accept it. The more correct error message is "unpack requires an object containing %zd bytes" (or "a buffer"). The similar issue was discussed some time ago, but I don't remember what module was discussed and who participated in that discussion.
History
Date User Action Args
2017年05月03日 08:01:44serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, r.david.murray, meador.inge, berker.peksag, martin.panter, xiang.zhang
2017年05月03日 08:01:44serhiy.storchakasetmessageid: <1493798504.28.0.365442040919.issue30246@psf.upfronthosting.co.za>
2017年05月03日 08:01:44serhiy.storchakalinkissue30246 messages
2017年05月03日 08:01:44serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /