[issue23515] Bad logic in timsort's merge_collapse

Tim Peters report at bugs.python.org
Wed Feb 25 17:04:24 CET 2015


Tim Peters added the comment:

@Benjamin, bless you for changing their "n-1 > 0" to "n > 1", and for adding parentheses to make the intended grouping obvious instead of a puzzle, and for swapping the addends on the RHS of the new test.  Thank you - perfect :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23515>
_______________________________________


More information about the Python-bugs-list mailing list