[Numpy-discussion] converting IDL to python