Message103024
[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). |
|
Date |
User |
Action |
Args |
2010-04-13 09:13:35 | mark.dickinson | set | recipients:
+ mark.dickinson, loewis, techtonik, ezio.melotti, ced, r.david.murray, ivb |
2010-04-13 09:13:35 | mark.dickinson | set | messageid: <1271150015.36.0.881080512356.issue6090@psf.upfronthosting.co.za> |
2010-04-13 09:13:33 | mark.dickinson | link | issue6090 messages |
2010-04-13 09:13:33 | mark.dickinson | create | |
|