minor simplification of PyList support