python-attrs
cattrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Save and restore working_set in include_subclasses When include_subclasses is called from within a structure hook factory (which is itself invoked during make_dict_structure_fn), it would overwrite already_generating.working_set with its own set and then reset it to an empty set. This caused the outer make_dict_structure_fn to fail with AttributeError when trying to clean up its working_set. Now the existing working_set is saved before the loop and restored after, so nested calls work correctly.
bysiber:fix-include-subclasses-working-set
13 hours ago
Document the test
mm-andritz:working_set_fix
2 days ago
Add regression test and changelog for namedtuple detailed_validation fix Add a test that verifies the detailed_validation parameter passed to namedtuple_dict_structure_factory is actually used and not silently ignored. Also add a HISTORY.md entry for the fix.
bysiber:fix/namedtuple-detailed-validation-param
2 days ago
Implement the fix
mm-andritz:working_set_fix
2 days ago
Fix wrong parameter name in namedtuple_dict_structure_factory The call to make_dict_structure_fn_from_attrs passes _cattrs_use_detailed_validation but the function expects _cattrs_detailed_validation. Because **kwargs catches the misnamed parameter as an attribute override, detailed_validation is silently ignored and always falls back to the converter default.
bysiber:fix/namedtuple-detailed-validation-param
2 days ago
v26.1.0
main
4 days ago
v26.1.0
4 days ago
Support overrides in annotated attributes (#717) * Support overrides in annotated attributes * Tests for overrides * More tests * Fix import * Fix coverage * Fix * Docs * Update docs/customizing.md Co-authored-by: Hynek Schlawack <hs@ox.cx> --------- Co-authored-by: Hynek Schlawack <hs@ox.cx>
main
26 days ago
Active Branches
Save and restore working_set in include_subclasses
last run
13 hours ago
#726
CodSpeed Performance Gauge
-1%
Working set fix
last run
2 days ago
#722
CodSpeed Performance Gauge
-1%
Fix wrong parameter name in namedtuple_dict_structure_factory
last run
2 days ago
#723
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs