aboutsummaryrefslogtreecommitdiff
path: root/pypy
diff options
context:
space:
mode:
authorAntonio Cuni <anto.cuni@gmail.com>2020-12-02 17:25:57 +0100
committerAntonio Cuni <anto.cuni@gmail.com>2020-12-02 17:25:57 +0100
commitc1de9b76ff6fd91c7ceb2466cd4dc22514617fac (patch)
tree8ad82f82138fc1f286f33d6c77f5e711bfa983e5 /pypy
parentbackport changes from py3.7 to rpython (diff)
parentclose merged branch (diff)
downloadpypy-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.rst5
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