python-attrs
attrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Fix Python 3.9-incompatible union syntax
clayote:sphinx-attr-getter-ext
2 days ago
Fix codspeed warning (#1527)
main
6 days ago
Fix codspeed warning
codespeed
6 days ago
Fix Python 3.9-incompatible union syntax
clayote:sphinx-attr-getter-ext
6 days ago
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
clayote:sphinx-attr-getter-ext
6 days ago
Fix Python 3.9-incompatible union syntax
clayote:sphinx-attr-getter-ext
6 days ago
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
clayote:sphinx-attr-getter-ext
6 days ago
Resolve field aliases before calling field_transformer (#1509) * Resolve field aliases before calling field_transformer Previously, field_transformer received attributes with alias=None for fields without an explicit alias. The default alias (e.g., stripping leading underscores) was only resolved after the transformer ran, making it impossible for transformers to access or use alias values. This moves alias resolution to before the field_transformer call, so transformers receive fully populated Attribute objects. A second pass after the transformer handles any new fields the transformer may have added. Additionally, Attribute.evolve() now automatically updates the alias when the name changes, if the alias was auto-generated (matching the default for the old name). Explicit aliases are preserved. Fixes #1479 * Fix CI failures: update doctest, add changelog, fix coverage - Update extending.md doctest to reflect that field_transformer now receives pre-resolved aliases (use alias == name.lstrip("_") instead of `not field.alias` to detect auto-generated aliases) - Add changelog entry for #1479 - Add test_hook_new_field_without_alias to cover the post-transformer alias resolution path (line 496 of _make.py) * Fix pre-commit * Change is neat but breaking Point change at PR, not bug. * Handle default alias detection explicitly * Fix docs build * We actually load 25.3-style --------- Co-authored-by: Hynek Schlawack <hs@ox.cx>
clayote:sphinx-attr-getter-ext
6 days ago
Active Branches
Add a Sphinx extension to document cached properties of slots classes
last run
2 days ago
#1519
CodSpeed Performance Gauge
0%
Allow on_setattr=setters.NO_OP on frozen classes
last run
22 days ago
#1515
CodSpeed Performance Gauge
0%
Fix FrozenInstanceError displaying empty message in tracebacks
last run
22 days ago
#1514
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs