◐ Shell
clean mode source ↗

gh-103712: Increase the length of the type name in AttributeError messages by alex · Pull Request #103713 · python/cpython

Conversation

hauntsaninja

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good, although I think you missed one in typeobject.c

This was inconsistently 50 or 100 or 200 at different call sites. This replaces all the 50s with 100s.

@alex

Got that one, thanks (it has a slightly different message, I guess that's why I missed it the first time).

@alex alex deleted the longer-type-name branch

April 24, 2023 14:26

carljm added a commit to carljm/cpython that referenced this pull request

Apr 24, 2023

Labels