Skip to content

gh-153785: Generate AttributeError messages from context#153786

Open
johnslavik wants to merge 20 commits into
python:mainfrom
johnslavik:gh-153785
Open

gh-153785: Generate AttributeError messages from context#153786
johnslavik wants to merge 20 commits into
python:mainfrom
johnslavik:gh-153785

Conversation

@johnslavik

@johnslavik johnslavik commented Jul 16, 2026

Copy link
Copy Markdown
Member

I think this is the best place to do this. We do the same trick in KeyError.

This also fixed issue #143811 that motivated the current one.

@python-cla-bot

This comment was marked as resolved.

@johnslavik johnslavik changed the title Generate AttributeError messages from context gh-153785: Generate AttributeError messages from context Jul 16, 2026
@read-the-docs-community

read-the-docs-community Bot commented Jul 16, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33610096 | 📁 Comparing 086a0c9 against main (b4662e8)

  🔍 Preview build  

2 files changed
± library/exceptions.html
± whatsnew/changelog.html

@johnslavik johnslavik requested a review from DinoV July 16, 2026 01:23
@johnslavik johnslavik marked this pull request as draft July 16, 2026 02:11
@johnslavik johnslavik marked this pull request as ready for review July 16, 2026 02:21
@johnslavik johnslavik marked this pull request as draft July 16, 2026 03:29
@johnslavik johnslavik marked this pull request as ready for review July 16, 2026 03:51
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.

1 participant