Steven D'Aprano wrote: >> Slightly related is a problem that comes up in practice; you cannot >> specify "including the last item" with negative indices: > > But you can do so by leaving the end index blank: That's why the problem typically comes up when the stop index is a variable.