Antonio Cuni pushed to branch branch/rpython-error_value at PyPy / pypy


Commits:
cf646112 by Antonio Cuni at 2020-11-30T21:39:44+01:00
Refactor&simplify the approach:

1. declare that the return value of general RPython function is undefined and
   that you should not rely on it

2. merge @llhelper_can_raise and @ll_error_value into a combined
   @llhelper_error_value: this is the only case which we ultimately care about,
   and it's simpler to test/implement them together than separately

3. introduce a failing test 
(test_enforce_llhelper_error_value_in_case_of_nested_exception)
   which will be fixed in the next commit.

--HG--
branch : rpython-error_value

- - - - -
f6e51b8f by Antonio Cuni at 2020-11-30T21:40:01+01:00
merge heads

--HG--
branch : rpython-error_value

- - - - -
4a88a927 by Antonio Cuni at 2020-11-30T21:44:34+01:00
fix test_enforce_llhelper_error_value_in_case_of_nested_exception by disabling 
an optimization if the graph has @llhelper_error_value

--HG--
branch : rpython-error_value

- - - - -


6 changed files:

- rpython/rlib/objectmodel.py
- rpython/rtyper/llinterp.py
- rpython/rtyper/lltypesystem/ll2ctypes.py
- rpython/rtyper/lltypesystem/test/test_ll2ctypes.py
- rpython/translator/exceptiontransform.py
- rpython/translator/test/test_exceptiontransform.py


View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/-/compare/349cc6b1a9a5adb73a10f87fcfe4b6551ee4200f...4a88a927bc83e93f0a6fd453dd47f849019d815e

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/349cc6b1a9a5adb73a10f87fcfe4b6551ee4200f...4a88a927bc83e93f0a6fd453dd47f849019d815e
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

Reply via email to