python-attrs
attrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[pre-commit.ci] pre-commit autoupdate (#1538) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.8 → v0.15.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.8...v0.15.9) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
main
1 day ago
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
pre-commit-ci-update-config
2 days ago
Update dev (#1537)
main
9 days ago
Update dev
update-dev
9 days ago
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
r266-tech:fix/kw-only-exc-pickle
17 days ago
Fix pickling of exception classes with kw_only attributes BaseException.__reduce__ returns (cls, self.args, state), passing self.args as positional arguments to cls() on unpickle. When kw_only=True, __init__ only accepts keyword-only arguments, causing unpickling to fail with: TypeError: __init__() takes 1 positional argument but 2 were given This fix adds a custom __reduce__ for exception classes that have kw_only attrs. It uses a _rebuild_exc helper that creates the instance via __new__ (bypassing __init__) and restores attributes directly, then calls BaseException.__init__ to properly set self.args. Fixes GH#734
r266-tech:fix/kw-only-exc-pickle
17 days ago
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
JasonOA888:fix/deep-iterable-error-message-1245
19 days ago
fix: improve error messages in deep_iterable and deep_mapping validators When inner validators fail, the error message now includes the index/key of the failing element instead of just the parent attribute name. Before: "Length of 'x' must be >= 1: 0" After: "Length of 'x[1]' must be >= 1: 0" This makes it clear which element in the iterable/mapping failed validation. Fixes #1245
JasonOA888:fix/deep-iterable-error-message-1245
19 days ago
Latest Branches
CodSpeed Performance Gauge
0%
[pre-commit.ci] pre-commit autoupdate
#1538
2 days ago
36124f5
pre-commit-ci-update-config
CodSpeed Performance Gauge
0%
Update dev
#1537
9 days ago
d07cbc7
update-dev
CodSpeed Performance Gauge
0%
Fix pickling of exception classes with kw_only attributes (#734)
#1534
17 days ago
c10e111
r266-tech:fix/kw-only-exc-pickle
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs