Skip to content

gh-144285: Improve AttributeError attribute suggestions#144299

Open
johnslavik wants to merge 20 commits intopython:mainfrom
johnslavik:feat-clearer-name-suggestions
Open

gh-144285: Improve AttributeError attribute suggestions#144299
johnslavik wants to merge 20 commits intopython:mainfrom
johnslavik:feat-clearer-name-suggestions

Conversation

@johnslavik
Copy link
Member

@johnslavik johnslavik commented Jan 28, 2026

Fixing up tests and adding news soon and we're ready.

I think it's okay this would affect simple cases as well. Error messages ideally are detailed and actionable.

@b9788213

This comment has been minimized.

@johnslavik johnslavik marked this pull request as ready for review February 7, 2026 19:56
@johnslavik johnslavik requested a review from pablogsal February 7, 2026 19:56
@johnslavik johnslavik changed the title gh-144285: Use "instead of" technique for clearer name suggestions gh-144285: Improve AttributeError attribute suggestions Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants