[issue41114] "TypeError: unhashable type" could often be more clear
Samuel Freilich
report at bugs.python.org
Mon Sep 28 08:52:49 EDT 2020
Samuel Freilich <sfreilich at google.com> added the comment:
> No minor tweak to the exception message will make this go away. For understanding to occur, the only way to forward is to learn a bit about hashability. That is a step that every beginner must take.
This is a derisive and beginner-hostile response that ignores half of what's been said by other participants in this thread.
> Also the error message itself is easily Googled
Yeah, the first thing that comes up is ~4k Stack Overflow entries where people are really confused by the error message.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41114>
_______________________________________
More information about the Python-bugs-list
mailing list