Raymond Hettinger added the comment: Sorry, but I'm going to keep the code as-is. To mine eyes (the maintainer), the while-loop better expresses my intention (a decrement-skip-on-zero step).
On at least one compiler (GCC-6), it allows better code to generated (a sub-and-test instead of a sub-compare-and-test). ---------- resolution: -> not a bug stage: patch review -> resolved status: open -> closed Added file: http://bugs.python.org/file46691/_collectionsmodule.s _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29698> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com