Constant slices are currently emitted as multiple bytecodes by the Python bytecode compiler.
LOAD_CONST 4 (0)
LOAD_CONST 5 (-2)
BUILD_SLICE 2
LOAD_CONST 1 (1)
LOAD_CONST 2 (-1)
BUILD_SLICE 2
BUILD_TUPLE 2
Then tuples of slices are constant like this, this could instead be compiled down to a single LOAD_CONST instruction:
LOAD_CONST 1 ((slice(0, -2, None), slice(1, -1, None))