attrs/changelog.d
Denis Laxalde 88e2896ca9
Preserve AttributeError in slotted classes with cached_property (#1253)
* Preserve AttributeError in slotted classes with cached_property

In slotted classes' generated __getattr__(), we try __getattribute__()
before __getattr__(), if available, and eventually let AttributeError
propagate. This matches better with the behaviour described in Python's
documentation "Customizing attribute access":

  https://docs.python.org/3/reference/datamodel.html#customizing-attribute-access

Fix https://github.com/python-attrs/attrs/issues/1230

* Update changelog.d/1253.change.md

---------

Co-authored-by: Hynek Schlawack <hs@ox.cx>
2024-04-02 04:57:25 +00:00
..
1221.change.md Update 1221.change.md 2024-01-07 08:13:27 +01:00
1234.change.md Tweak stubs for better VS Code import (#1234) 2024-02-04 06:00:30 +00:00
1253.change.md Preserve AttributeError in slotted classes with cached_property (#1253) 2024-04-02 04:57:25 +00:00
1263.deprecation.md Deprecate attr.s's repr_ns (#1263) 2024-03-16 15:55:37 +00:00
1264.breaking.md evolve: remove support for passing instances per kw (#1264) 2024-03-16 18:23:17 +00:00
1265.breaking.md Remove attrs.validators.provides (#1265) 2024-03-16 21:15:47 +00:00
1268.breaking.md Remove non-version metadata hack (#1268) 2024-03-18 15:19:38 +01:00
towncrier_template.md.jinja Switch changelog to markdown (#1067) 2022-12-07 09:15:46 +01:00