agronholm / agronholm/exceptiongroup

exception information missing from unraisable exceptiongroups

未關閉
#18 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
49
分支
23
PR 合併指標
30 天內沒有已合併 PR

描述

https://github.com/python/cpython/issues/95572

```
Python 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import exceptiongroup
>>> class Foo:
... def __del__(self):
... raise exceptiongroup.BaseExceptionGroup("the bad", [Exception("critical debug information")])
...
>>> f = Foo()
>>> del f
Exception ignored in:
Traceback (most recent call last):
File "", line 3, in __del__
exceptiongroup.ExceptionGroup: the bad (1 sub-exception)
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。