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 serhiy.storchaka
Recipients Dennis Sweeney, lukasz.langa, rhettinger, serhiy.storchaka
Date 2021-08-27.07:24:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630049043.81.0.921423908794.issue45026@roundup.psfhosted.org>
In-reply-to
Content
step can be negative. So the condition should be more complex: ((r->stop > 0) ? (result < r->stop) : (result > r->stop)). And it would look much more complex for longrangeiterobject.
History
Date User Action Args
2021-08-27 07:24:03serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, lukasz.langa, Dennis Sweeney
2021-08-27 07:24:03serhiy.storchakasetmessageid: <1630049043.81.0.921423908794.issue45026@roundup.psfhosted.org>
2021-08-27 07:24:03serhiy.storchakalinkissue45026 messages
2021-08-27 07:24:03serhiy.storchakacreate