[ty] use __getattribute__ to lookup unknown members on a type by felixscherz · Pull Request #18280 · astral-sh/ruff (original) (raw)
sharkdp added a commit that referenced this pull request
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com
sharkdp added a commit that referenced this pull request
Type::member_lookup_with_policy now falls back to calling
__getattribute__ when a member cannot be found as a second fallback
after __getattr__.
closes astral-sh/ty#441
Added markdown tests.
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com Co-authored-by: David Peter mail@david-peter.de
KotlinIsland pushed a commit to KotlinIsland/basedpython that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})