Closed robertwb closed 7 years ago
Comment by scoder on 24 Mar 2012 16:10 UTC I've disabled the optimised looping for this case:
https://github.com/cython/cython/commit/f766a7fc2a4b7fa67b2db8592034980bff9c5783
Comment by scoder on 24 Mar 2012 16:13 UTC Follow-up ticket for optimising this case is in $trac_url/ticket/$id.
Reported by mark on 22 Mar 2012 12:27 UTC When iterating over reversed(range()), the reversed swaps the bounds of the range() and offsets it by one. This is wrong for a step that is not 1 or -1. Example:
output:
Migrated-From: http://trac.cython.org/ticket/763