[Python-ideas] Means of comparing slices for intersection or containment containment and computing intersections or unions