python-attrs
attrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix: rewrite __class__ closure cells of methods hidden in decorators When a slotted class is re-created by _ClassBuilder, closure cells that reference the old class (baked in by no-arg super() or __class__) are rewritten to point at the new class. Methods wrapped in decorators hide their function - and thus the __class__ cell baked into it - behind the wrapper's own closure, so those cells were never rewritten. This caused no-arg super() inside such wrapped methods to raise: TypeError: super(type, obj): obj is not an instance or subtype of type Collect functions referenced by other functions' closures as well, so their cells are rewritten too. Fixes #1038.
TrueFurina:fix/decorated-super-closure-cell
11 hours ago
build(deps): bump the github-actions group with 5 updates Bumps the github-actions group with 5 updates: | Package | From | To | | --- | --- | --- | | [re-actors/alls-green](https://github.com/re-actors/alls-green) | `1.2.2` | `1.3.0` | | [github/codeql-action/init](https://github.com/github/codeql-action) | `4.37.4` | `4.37.8` | | [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.37.4` | `4.37.8` | | [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.37.4` | `4.37.8` | | [CodSpeedHQ/action](https://github.com/codspeedhq/action) | `5.0.1` | `5.2.1` | Updates `re-actors/alls-green` from 1.2.2 to 1.3.0 - [Release notes](https://github.com/re-actors/alls-green/releases) - [Commits](https://github.com/re-actors/alls-green/compare/05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe...b5b5b37504aa4183270bd3d855c52a67f212be35) Updates `github/codeql-action/init` from 4.37.4 to 4.37.8 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/f205ea1c3313d32999d8d6a48b4f6530d4437b38...db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28) Updates `github/codeql-action/autobuild` from 4.37.4 to 4.37.8 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/f205ea1c3313d32999d8d6a48b4f6530d4437b38...db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28) Updates `github/codeql-action/analyze` from 4.37.4 to 4.37.8 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/f205ea1c3313d32999d8d6a48b4f6530d4437b38...db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28) Updates `CodSpeedHQ/action` from 5.0.1 to 5.2.1 - [Release notes](https://github.com/codspeedhq/action/releases) - [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codspeedhq/action/compare/88472375d0a4572cf70a9f1fe3a4e0ab8da1b924...373d6868929f444bc08d901fd0eb0ad52a8875ea) --- updated-dependencies: - dependency-name: re-actors/alls-green dependency-version: 1.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: github/codeql-action/init dependency-version: 4.37.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action/autobuild dependency-version: 4.37.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action/analyze dependency-version: 4.37.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: CodSpeedHQ/action dependency-version: 5.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/github_actions/github-actions-ef93c4a3de
3 days ago
fix: compare Attribute instances by identity in filters - tests/test_filters.py
TrueFurina:fix/filter-attribute-identity
6 days ago
Strip leftover attr.ib() sentinels when these= is passed. these= skips collecting class-body fields, but those attr.ib() objects stayed on the class. Accessing them then returned a private _CountingAttr instead of a missing or real attribute.
gyanu2507:fix/these-leftover-ib-sentinels
9 days ago
Fix lint formatting and branch coverage in exception reduce - Ruff-format the new parametrized test declarations (79-col limit) - Drop the isinstance(state, dict) guard in _reconstruct_exception: state is always a dict (attribute mapping for slotted classes or self.__dict__), and the dead branch broke the 100% branch coverage gate
weed33834:fix/734-kw-only-exception-pickle
15 days ago
Expose cached properties of slotted classes via __attrs_cached_properties__ Slotted classes now carry a public __attrs_cached_properties__ class attribute: a plain dict mapping the names of the cached_property functions defined on the class to the original functions. It is the same mapping the generated __getattr__ uses, so accessing it never evaluates the properties. Non-slotted classes are unaffected. Documented in docs/extending.md and changelog.d/1532.change.md. Fixes #1532
cjchanh:expose-cached-properties
15 days ago
Fix pickling of auto_exc exceptions with keyword-only attributes BaseException.__reduce__ re-creates exceptions by calling cls(*self.args), which fails for classes whose __init__ only accepts keyword arguments. Add a custom __reduce__ for such exceptions that re-creates them via __new__ and restores state explicitly, working for all combinations of slots and frozen. Fix #734
weed33834:fix/734-kw-only-exception-pickle
15 days ago
add pr update fragment
RHammond2:feature/eq-validator
22 days ago
Latest Branches
CodSpeed Performance Gauge
0%
fix: rewrite __class__ closure cells of methods hidden in decorators
#1618
17 hours ago
5a7e024
TrueFurina:fix/decorated-super-closure-cell
CodSpeed Performance Gauge
0%
build(deps): bump the github-actions group with 5 updates
#1617
3 days ago
88cb228
dependabot/github_actions/github-actions-ef93c4a3de
CodSpeed Performance Gauge
0%
fix: compare `Attribute` instances by identity in `include`/`exclude`
#1616
6 days ago
cb32540
TrueFurina:fix/filter-attribute-identity
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs