Extension for Python List Class