pub fn python_slice(len: usize, start: i128, stop: i128) -> Range<usize> ⓘ
Python’s data[start:stop], including negative indices and clamping.
data[start:stop]