Message399281
| Author | sobolevn |
|---|---|
| Recipients | Dennis Sweeney, Rotem Yaari, Yury.Selivanov, chris.jerdonek, georg.brandl, iritkatriel, larsonreever, ncoghlan, python-dev, serhiy.storchaka, sobolevn, terry.reedy, yselivanov |
| Date | 2021-08-09.17:20:54 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1628529654.41.0.146899603719.issue25782@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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 |
|
| History | |||
|---|---|---|---|
| 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 | |