Author mark.dickinson
Recipients ced, ezio.melotti, ivb, loewis, mark.dickinson, r.david.murray, techtonik
Date 2010-04-13.09:13:33
SpamBayes Score 5.24897e-05
Marked as misclassified No
Message-id <1271150015.36.0.881080512356.issue6090@psf.upfronthosting.co.za>
In-reply-to
Content
[Martin]
> I think the error message could be better, though; it should probably be a ValueError.

Do you mean a ValueError at the level of the struct module, or the zipfile module.

I'd quite like to change all the exceptions raised by the struct module to ValueError or TypeError (as appropriate);  I'm not sure what the point of struct.error is supposed to be.  I've resisted making this change up until now for backwards compatibility reasons, but perhaps it could be considered for 3.2 (but not for 2.7).
History
Date User Action Args
2010-04-13 09:13:35mark.dickinsonsetrecipients: + mark.dickinson, loewis, techtonik, ezio.melotti, ced, r.david.murray, ivb
2010-04-13 09:13:35mark.dickinsonsetmessageid: <1271150015.36.0.881080512356.issue6090@psf.upfronthosting.co.za>
2010-04-13 09:13:33mark.dickinsonlinkissue6090 messages
2010-04-13 09:13:33mark.dickinsoncreate