Use Jythons implementation of slices.