◐ Shell
clean mode source ↗

bpo-44024: Improve the TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr by geryogam · Pull Request #25863 · python/cpython

@geryogam

JelleZijlstra

@geryogam geryogam changed the title bpo-44024: Use common TypeError message for built-in functions getattr and hasattr bpo-44024: Use the common TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr

May 4, 2021

JelleZijlstra

JelleZijlstra

…24.M9m8Qd.rst

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

JelleZijlstra

@geryogam geryogam changed the title bpo-44024: Use the common TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr bpo-44024: Improve the error message for non-string second arguments passed to the built-in functions getattr and hasattr

May 4, 2021

@geryogam

@geryogam geryogam changed the title bpo-44024: Improve the error message for non-string second arguments passed to the built-in functions getattr and hasattr bpo-44024: Improve the TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr

May 4, 2021

@geryogam

serhiy-storchaka

@hugovk hugovk removed the stale

Stale PR or inactive for long period of time.

label

Jan 5, 2022

serhiy-storchaka

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

May 4, 2022

@rlamy rlamy mentioned this pull request

May 30, 2025