This simple file crashes pythran, latest version on mac os.
import numpy as np
# pythran export test(int?)
def test(sRate=44100):
x = np.expand_dims(np.ones(sRate),-1)
x = np.maximum(np.minimum(x,.5),-.5).asarray() #<- the asarray() is bogus (does not exist in numpy) but kills pythran.
return x
This simple file crashes pythran, latest version on mac os.