Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy


Commits:
399791d1 by Carl Friedrich Bolz-Tereick at 2022-10-08T22:34:32+02:00
undo part of d808fe36af64 that I didn't understand properly to fix this bug:

>>>> class K(KeyError): pass
>>>> print(K(1))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'KeyError' object expected, got 'K' instead

- - - - -


2 changed files:

- pypy/module/exceptions/interp_exceptions.py
- pypy/module/exceptions/test/test_exc.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/399791d1e47dbb4c3cfeab7ac24705b08ace515b

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/399791d1e47dbb4c3cfeab7ac24705b08ace515b
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com

Reply via email to