restrict py2array to PyList; fixes #32