Python slices and list comprehensions