[pypy-commit] [Git][pypy/pypy][branch/py3.8] 2 commits: #3644: directly access the __context__ descriptor from BaseException. two reasons:

Carl Friedrich Bolz-Tereick (@cfbolz) foss at heptapod.net
Tue Jan 25 06:57:14 EST 2022



Carl Friedrich Bolz-Tereick pushed to branch branch/py3.8 at PyPy / pypy


Commits:
854c6ecc by Carl Friedrich Bolz-Tereick at 2022-01-25T11:02:58+01:00
#3644: directly access the __context__ descriptor from BaseException. two reasons:

- corner case compatibility with CPython
- the situations where __context__ is handled are actually kind of subtle, so
  getting an unexpected error there can lead to exceptions disappearing

--HG--
branch : py3.7

- - - - -
bd8c43a6 by Carl Friedrich Bolz-Tereick at 2022-01-25T11:17:52+01:00
merge py3.7

--HG--
branch : py3.8

- - - - -


3 changed files:

- pypy/interpreter/error.py
- pypy/interpreter/pyopcode.py
- pypy/interpreter/test/test_raise.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/9a027989530685dcc2c6a9dedf7c579a7cda8922...bd8c43a68a17b1af9a0dd3e0edd5d02504af3a1f

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/9a027989530685dcc2c6a9dedf7c579a7cda8922...bd8c43a68a17b1af9a0dd3e0edd5d02504af3a1f
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/20220125/d489c5ff/attachment.html>


More information about the pypy-commit mailing list