Author: Ronan Lamy <ronan.l...@gmail.com> Branch: py3.5 Changeset: r89668:8a00871322e3 Date: 2017-01-18 20:03 +0000 http://bitbucket.org/pypy/pypy/changeset/8a00871322e3/
Log: fix translation diff --git a/pypy/module/cpyext/import_.py b/pypy/module/cpyext/import_.py --- a/pypy/module/cpyext/import_.py +++ b/pypy/module/cpyext/import_.py @@ -56,6 +56,7 @@ PyObject *name, PyObject *given_globals, PyObject *locals, PyObject *given_fromlist, int level)''', cts) def PyImport_ImportModuleLevelObject(space, w_name, w_glob, w_loc, w_fromlist, level): + level = rffi.cast(lltype.Signed, level) if w_glob is None: w_glob = space.newdict() else: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit