Author: mattip <matti.pi...@gmail.com> Branch: ufuncapi Changeset: r72857:28e42d741c8a Date: 2014-08-18 01:09 +0300 http://bitbucket.org/pypy/pypy/changeset/28e42d741c8a/
Log: translation fixes diff --git a/pypy/module/cpyext/ndarrayobject.py b/pypy/module/cpyext/ndarrayobject.py --- a/pypy/module/cpyext/ndarrayobject.py +++ b/pypy/module/cpyext/ndarrayobject.py @@ -312,6 +312,9 @@ w_signature = rffi.charp2str(signature) w_doc = rffi.charp2str(doc) w_name = rffi.charp2str(name) - ufunc_generic = ufuncs.frompyfunc(space, w_funcs, nin, nout, w_dtypes, - w_signature, identity, w_name, w_doc) + w_nin = int(nin) + w_nout = int(nout) + w_identity = space.wrap(identity) + ufunc_generic = ufuncs.frompyfunc(space, w_funcs, w_nin, w_nout, w_dtypes, + w_signature, w_identity, w_name, w_doc) return ufunc_generic _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit