[issue40853] "set() in set()" should raise TypeError: unhashable type: 'set'

yesheng report at bugs.python.org
Wed Jun 3 07:13:17 EDT 2020


yesheng <sheng.1.ye at 139.com> added the comment:

thanks, it sounds reasonable.
is it possible to make dict give consistent result?
{1,2} in {frozenset({1,2}):3} 
# to return True

----------

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


More information about the Python-bugs-list mailing list