python-attrs
attrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Fix attrs.frozen with enum.Enum subclasses When creating an Enum subclass of a frozen attrs class, the frozen __setattr__ would prevent Enum from creating members. Now, Enum instances can bypass the frozen check to allow proper member creation. Fixes #1287
C1-BA-B1-F3:fix-enum-frozen-1287
21 hours ago
Fix pickling kw-only attrs exceptions
lin-hongkuan:codex/exception-kw-only-reduce
3 days ago
Handle attrs.asdict sets of instances
lin-hongkuan:codex/asdict-set-of-instances
3 days ago
update dev
main
8 days ago
Apply 1 week of cooldown for dev deps
main
22 days ago
Add `ne` validator This change adds a validator that raises `ValueError` if the initializer is called with a number equal to *val*. An example use case. I want a field that is a signed `int` of any value except for zero. I could do the following. ```python attrs.field( validator=attrs.validators.or_( attrs.validators.le(-1), attrs.validators.ge(1), ) ) ``` With this proposed `ne` validator I could do. ```python attrs.field(validator=attrs.validators.ne(0)) ```
jamesbeith:jamesbeith/ne-validator
24 days ago
Merge branch 'main' into fix/validate-init-aliases
uwezkhan:fix/validate-init-aliases
24 days ago
Merge branch 'main' into fix/init-alias-validation
uwezkhan:fix/init-alias-validation
24 days ago
Latest Branches
CodSpeed Performance Gauge
0%
Fix attrs.frozen with enum.Enum subclasses
#1574
22 hours ago
d4e6d44
C1-BA-B1-F3:fix-enum-frozen-1287
CodSpeed Performance Gauge
0%
Fix pickling auto_exc exceptions with kw_only fields
#1573
3 days ago
66a8ae9
lin-hongkuan:codex/exception-kw-only-reduce
CodSpeed Performance Gauge
0%
Handle attrs.asdict sets of instances
#1572
3 days ago
844dfa9
lin-hongkuan:codex/asdict-set-of-instances
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs