diff options
author | Antonio Cuni <anto.cuni@gmail.com> | 2020-12-02 17:25:57 +0100 |
---|---|---|
committer | Antonio Cuni <anto.cuni@gmail.com> | 2020-12-02 17:25:57 +0100 |
commit | c1de9b76ff6fd91c7ceb2466cd4dc22514617fac (patch) | |
tree | 8ad82f82138fc1f286f33d6c77f5e711bfa983e5 /pypy | |
parent | backport changes from py3.7 to rpython (diff) | |
parent | close merged branch (diff) | |
download | pypy-c1de9b76ff6fd91c7ceb2466cd4dc22514617fac.tar.gz pypy-c1de9b76ff6fd91c7ceb2466cd4dc22514617fac.tar.bz2 pypy-c1de9b76ff6fd91c7ceb2466cd4dc22514617fac.zip |
Merge the rpython-error_value branch.
This branch introduces a new decorator @llhelper_error_value, which
officializes the fact that you can raise RPython exceptions from llhelpers,
and makes it possible to specify what is the C value to return in case of
errors.
It is needed to implement correctly HPy exceptions (see also its sister
branch, hpy-error-value)
Diffstat (limited to 'pypy')
-rw-r--r-- | pypy/doc/whatsnew-head.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst index 016e51604a..899e17f962 100644 --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whatsnew-head.rst @@ -25,3 +25,8 @@ Upstream internal cparser tool from pypy/ to rpython/ .. branch: win64 Change rpython and pypy to enable translating 64-bit windows + + +.. branch: rpython-error_value + +Introduce @rlib.objectmodel.llhelper_error_value, will be used by HPy |