Message399281
There's also a similar case with python3.9:
```python
>>> class MyError(Exception):
... ...
...
>>> e = MyError('e')
>>> e.__context__ = e
>>>
>>> try:
... raise e
... except MyError:
... print('done')
...
done # hangs after this
^C^Z
```
The same code works with python3.8
We got hit by this in RustPython: https://github.com/RustPython/RustPython/pull/2820 |
|
Date |
User |
Action |
Args |
2021-08-09 17:20:54 | sobolevn | set | recipients:
+ sobolevn, georg.brandl, terry.reedy, ncoghlan, chris.jerdonek, Yury.Selivanov, python-dev, serhiy.storchaka, yselivanov, Rotem Yaari, larsonreever, Dennis Sweeney, iritkatriel |
2021-08-09 17:20:54 | sobolevn | set | messageid: <1628529654.41.0.146899603719.issue25782@roundup.psfhosted.org> |
2021-08-09 17:20:54 | sobolevn | link | issue25782 messages |
2021-08-09 17:20:54 | sobolevn | create | |
|