Numba offers JIT for Python. In its documentation it says "One objective of Numba is having a seamless integration with NumPy."
So why including some of the simplest features from numpy isn't possible:
import numpy as np from numba import * @jit(nopython=True) def testfun(x): y = np.size(x) return y x=np.array([1 ,2, 3],dtype=float) testfun(x)
When I run this code, I get the error "Unknown attribute 'size' of type Module."
Numba understands calls to NumPy ufuncs. I assume simple numpy functions such as size, shape, sum, reshape, etc are ufuncs.