SciPy

numpy.ma.MaskedArray.__long__

MaskedArray.__long__() <==> long(x)