[pypy-commit] [Git][pypy/pypy][branch/py3.7] 10 commits: Use the cpyext error indicator to implement HPy exceptions (WIP)

Ronan Lamy (@rlamy) foss at heptapod.net
Thu Sep 2 10:40:28 EDT 2021



Ronan Lamy pushed to branch branch/py3.7 at PyPy / pypy


Commits:
90370b5d by Ronan Lamy at 2021-06-28T17:58:31+01:00
Use the cpyext error indicator to implement HPy exceptions (WIP)

--HG--
branch : hpy-refactor-exceptions

- - - - -
10011611 by Ronan Lamy at 2021-06-28T18:02:48+01:00
Check exceptions in init_hpy_module

--HG--
branch : hpy-refactor-exceptions

- - - - -
1eaaf5e8 by Ronan Lamy at 2021-06-28T19:15:20+01:00
Fix test failures (more slots need fixing)

--HG--
branch : hpy-refactor-exceptions

- - - - -
63a5e6e8 by Ronan Lamy at 2021-06-29T17:30:12+01:00
Fix exception handling in slot wrappers

--HG--
branch : hpy-refactor-exceptions

- - - - -
cfa903c0 by Ronan Lamy at 2021-06-29T17:57:37+01:00
Kill handlemanager.Stack: we can just use a list again

--HG--
branch : hpy-refactor-exceptions

- - - - -
f7abfba2 by Ronan Lamy at 2021-06-30T15:58:33+01:00
performance: in functions, raise exception only if the return value is null

--HG--
branch : hpy-refactor-exceptions

- - - - -
502eb6c7 by Ronan Lamy at 2021-08-27T10:43:55+02:00
hg merge py3.7

--HG--
branch : hpy-refactor-exceptions

- - - - -
0ffd6f1c by Armin Rigo at 2021-08-27T18:34:01+02:00
hg merge py3.7

--HG--
branch : hpy-refactor-exceptions

- - - - -
7d367854 by Armin Rigo at 2021-08-27T17:45:50+01:00
(ronan, antocuni frozen, arigo)

Use interpindirect2app here too.  With this exact signature,
interp2app() is optimized but only if you use a method and
not a function (and now interpindirect2app() uses a method).

--HG--
branch : hpy-refactor-exceptions

- - - - -
0409ad57 by Ronan Lamy at 2021-09-02T14:40:23+00:00
Merge branch 'branch/hpy-refactor-exceptions' into 'branch/py3.7'

WIP? Use the cpyext error indicator to implement HPy exceptions

See merge request pypy/pypy!828

--HG--
branch : py3.7

- - - - -


12 changed files:

- pypy/module/_hpy_universal/apiset.py
- pypy/module/_hpy_universal/bridge.py
- pypy/module/_hpy_universal/handlemanager.py
- pypy/module/_hpy_universal/interp_err.py
- pypy/module/_hpy_universal/interp_extfunc.py
- pypy/module/_hpy_universal/interp_hpy.py
- pypy/module/_hpy_universal/interp_slot.py
- pypy/module/_hpy_universal/llapi.py
- pypy/module/_hpy_universal/src/hpyerr.c
- pypy/module/_hpy_universal/src/hpyerr.h
- pypy/module/_hpy_universal/state.py
- pypy/module/_hpy_universal/test/test_handlemanager.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/1b13cd6012f645c255bdd39d5b14ce128347fdea...0409ad578e6152655063d9ebe66639b08070e94c

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/1b13cd6012f645c255bdd39d5b14ce128347fdea...0409ad578e6152655063d9ebe66639b08070e94c
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20210902/4484989f/attachment.html>


More information about the pypy-commit mailing list