Antonio Cuni pushed to branch branch/hpy at PyPy / pypy
Commits: 7137608a by Antonio Cuni at 2020-04-25T09:50:37Z WIP: introduce the concept of the hpy-rpython bridge, which makes possible to call rpython functions from C, and thus to implement some HPy API functions directly in C. Use it to implement HPyErr_Occurred. We still need to fix HPyErr_SetString and to fix the after-translation case --HG-- branch : hpy - - - - - 2b1e8c56 by Antonio Cuni at 2020-04-25T13:31:27Z change the naming convention of the bridge functions, so there is a more clear distinction between the API funcs and the bridge funcs --HG-- branch : hpy - - - - - e2cb93a2 by Antonio Cuni at 2020-04-25T14:17:51Z implement HPyErr_SetString in C, and use the new bridge functionality to call back into RPython to raise the proper OperationError --HG-- branch : hpy - - - - - 76335ee8 by Antonio Cuni at 2020-04-25T17:34:11Z WIP: progress towards fixing translation --HG-- branch : hpy - - - - - b933d0f8 by Antonio Cuni at 2020-04-26T09:47:53Z hack around until we fix both the translated and untranslated cases. It requires a couple of workaround but hopefully I managed to keep the workarounds as small and delimited as possible --HG-- branch : hpy - - - - - 9 changed files: - pypy/module/_hpy_universal/apiset.py - + pypy/module/_hpy_universal/bridge.py - pypy/module/_hpy_universal/interp_err.py - pypy/module/_hpy_universal/llapi.py - + pypy/module/_hpy_universal/src/bridge.c - + pypy/module/_hpy_universal/src/bridge.h - pypy/module/_hpy_universal/src/hpyerr.c - pypy/module/_hpy_universal/src/hpyerr.h - pypy/module/_hpy_universal/state.py View it on GitLab: https://foss.heptapod.net/pypy/pypy/compare/d749e3ad329fa1976be478259143450754f2b7c3...b933d0f8e29cfbadffd40a3e68cec8bf82d9206c -- View it on GitLab: https://foss.heptapod.net/pypy/pypy/compare/d749e3ad329fa1976be478259143450754f2b7c3...b933d0f8e29cfbadffd40a3e68cec8bf82d9206c You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
