[issue44024] Improve the TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr

Serhiy Storchaka report at bugs.python.org
Tue Jan 18 15:46:35 EST 2022


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:


New changeset 16bf9bd157c7bf5f9c60414fa8e0fe5047c55a9b by Géry Ogam in branch 'main':
bpo-44024: Improve the TypeError message in getattr and hasattr (GH-25863)
https://github.com/python/cpython/commit/16bf9bd157c7bf5f9c60414fa8e0fe5047c55a9b


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44024>
_______________________________________


More information about the Python-bugs-list mailing list