Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: 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. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4536> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com