Author vajrasky
Recipients ezio.melotti, mark.dickinson, meador.inge, miwa, pitrou, serhiy.storchaka, vajrasky
Date 2013-10-01.08:57:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380617868.9.0.681414910162.issue19099@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy, you don't want to clear the cache in the test to simulate the bug?

struct._clearcache()

Other than that, should we raise struct.error instead of ValueError? Right now, the current behaviour in python 2.7 is:

>>> struct.pack('\x80', 3)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
struct.error: bad char in struct format

But you are right. Struct() should have been changed instead of struct.pack.
History
Date User Action Args
2013-10-01 08:57:48vajraskysetrecipients: + vajrasky, mark.dickinson, pitrou, ezio.melotti, miwa, meador.inge, serhiy.storchaka
2013-10-01 08:57:48vajraskysetmessageid: <1380617868.9.0.681414910162.issue19099@psf.upfronthosting.co.za>
2013-10-01 08:57:48vajraskylinkissue19099 messages
2013-10-01 08:57:48vajraskycreate