Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 #1230 * Update changelog.d/1253.change.md --------- Co-authored-by: Hynek Schlawack <[email protected]>
- Loading branch information