Skip to content

Commit 919b0d1

Browse files
committed
(errors) Correctly set BaseException.args
1 parent c5ea32b commit 919b0d1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

HISTORY.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ Our backwards-compatibility policy can be found [here](https://github.com/python
2424
If you're using these functions directly, the old behavior can be restored by passing in the desired value directly.
2525
([#596](https://github.com/python-attrs/cattrs/issues/596) [#660](https://github.com/python-attrs/cattrs/pull/660))
2626
- Fix unstructuring of generic classes with stringified annotations.
27-
([#661](https://github.com/python-attrs/cattrs/issues/661) [#662](https://github.com/python-attrs/cattrs/issues/662))
27+
([#661](https://github.com/python-attrs/cattrs/issues/661) [#662](https://github.com/python-attrs/cattrs/issues/662)
28+
- For {class}`cattrs.errors.StructureHandlerNotFoundError` and {class}`cattrs.errors.ForbiddenExtraKeysError`
29+
correctly set {attr}`BaseException.args` in `super()` and hence make them pickable.
30+
([#666](https://github.com/python-attrs/cattrs/pull/666))
2831

2932
## 25.1.1 (2025-06-04)
3033

0 commit comments

Comments
 (0)