agronholm / agronholm/exceptiongroup

exception information missing from unraisable exceptiongroups

Đang mở
#18 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
49
Fork
23
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.