list.clear() was added to python in 3.3 (: