python/ext/py-source.c: use PyArray_NewShape, not _Resize