This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, georg.brandl, laszlo
Date 2008-12-05.13:03:08
SpamBayes Score 9.084571e-05
Marked as misclassified No
Message-id <1228482189.84.0.827174232232.issue4536@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-12-05 13:03:09amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, georg.brandl, laszlo
2008-12-05 13:03:09amaury.forgeotdarcsetmessageid: <1228482189.84.0.827174232232.issue4536@psf.upfronthosting.co.za>
2008-12-05 13:03:09amaury.forgeotdarclinkissue4536 messages
2008-12-05 13:03:08amaury.forgeotdarccreate