[issue28614] Slice limit documentation could be misinterpreted in Python 2.

2016-11-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I am inclined to think that this should be closed. I concur. The problem with the nitpick and word-smithing is that over-explaining tends to make the docs harder to read and understand by getting in the way of the basic message. Given that this passage

[issue28614] Slice limit documentation could be misinterpreted in Python 2.

2016-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg280626 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue28614] Slice limit documentation could be misinterpreted in Python 2.

2016-11-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: n < (j-i)/k is a straightforward translation of i + n*k < j, and vice verse, where / is rational division. It is incorrect to integerize the result and the doc does not say to do so. In Python 3, there is no ambiguity, and the doc is *not* incorrect, and doe