I suppose that empty ranges could retain independent start and stop values but what would the advantage be? The current behavior allows the length of a range to always be computed as stop-start+1
. It also normalizes empty ranges starting at a given index.
4 Likes