Message77011
It's right that the overflow handling path is never never taken:
If "step = PyNumber_Index(step)" succeeds, 'step' is (a subclass of) an
int, and PyNumber_AsSsize_t cannot fail, not even on low memory
conditions, and large figures are clipped.
But if it were to fail (in some future implementation), the present code
would clear an eventual exception.
Maybe this part could be applied only to 3.1. |
|
Date |
User |
Action |
Args |
2008-12-05 13:03:09 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, georg.brandl, laszlo |
2008-12-05 13:03:09 | amaury.forgeotdarc | set | messageid: <1228482189.84.0.827174232232.issue4536@psf.upfronthosting.co.za> |
2008-12-05 13:03:09 | amaury.forgeotdarc | link | issue4536 messages |
2008-12-05 13:03:08 | amaury.forgeotdarc | create | |
|