Message106582
| Author | vstinner |
|---|---|
| Recipients | loewis, pitrou, vstinner |
| Date | 2010-05-26.21:54:05 |
| SpamBayes Score | 0.021800244 |
| Marked as misclassified | No |
| Message-id | <1274910848.73.0.747529793695.issue8651@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
getarg.patch fixes STORE_SIZE macro used in convertsimple(). If the input size is bigger than INT_MAX, it raises an OverflowError("size does not fit in an int") and calls converterr() which expected="".
The value of expected is useless because converterr() is only used to notice that an error occured. I think that return msgbuf instead of calling converterr() would be enough, but I don't know this code very well and so i copied the code used to raise an OverflowError for the 'b' format. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-05-26 21:54:08 | vstinner | set | recipients: + vstinner, loewis, pitrou |
| 2010-05-26 21:54:08 | vstinner | set | messageid: <1274910848.73.0.747529793695.issue8651@psf.upfronthosting.co.za> |
| 2010-05-26 21:54:06 | vstinner | link | issue8651 messages |
| 2010-05-26 21:54:06 | vstinner | create | |