Message400399
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. |
|
Date |
User |
Action |
Args |
2021-08-27 07:24:03 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, lukasz.langa, Dennis Sweeney |
2021-08-27 07:24:03 | serhiy.storchaka | set | messageid: <1630049043.81.0.921423908794.issue45026@roundup.psfhosted.org> |
2021-08-27 07:24:03 | serhiy.storchaka | link | issue45026 messages |
2021-08-27 07:24:03 | serhiy.storchaka | create | |
|