python-attrs
attrs
BlogDocsChangelog

Performance History

Latest Results

Prepare 25.4.0
3 days ago
update dev (#1476)
main
3 days ago
update dev
update-dev
3 days ago
Expose effective class construction properties (#1454) * Implement _AttrsParams ref #602 * Set __attrs_base_of_slotted__ for unused base classes * Rename to ClassProps This reflects that the instance is NOT just the parameters as passed to the decorator, but how the class is actually constructed. * Start renaming fields so it's clearer these aren't just arguments * Reorder * Dont's expose has_custom_setattr * Make KeywordOnly an Enum And make Hashability public * Make cache_hash part of the Hashability Enum * Add attrs.inspect() * Refactor enums into class since they're only used by that class * Docs * Move back, rip out type hints * Revert "Move back, rip out type hints" This reverts commit 84bb6da79999466c80e9c825e31279f23fbe9527. * Use internal mechanisms instead of NamedTuple Mostly to prevent Mypy from looking at our code, but sadly it wasn't enough courtesy of enums for some reason. * Add news fragment * Document it's experimental * Improve ClassProps documentation * Add type information to docs * Improve field names To make it clearer these are derived values and nothing you can pass into define/attr.s * Avoid repeated attribute lookups * More more helpful field names * Add warning to class too * Add explanation * Add to changelog, too * Nicer phrasing * Grammar * docs * Consistency * Make inspect/ClassProps NG-only * Remove stray empty line * Don't half-ass next_gen-ing _funcs is terribly generic too * Avoid attribute lookups in hot loop * Add field access type tests * A docstring is not appropriate here * Move typing example to baseline
main
9 days ago

Active Branches

Add `reuse()` to `Attribute` for field evolution
last run
4 months ago
#1429
CodSpeed Performance Gauge
0%
last run
8 months ago
#1144
CodSpeed Performance Gauge
0%
© 2025 CodSpeed Technology
Home Terms Privacy Docs