[issue24413] Inconsistent behavior between set and dict_keys/dict_items: for non-iterable object x, set().__or__(x) returns NotImplemented, but {}.keys().__or__(x) raises TypeError

Antoine Pitrou report at bugs.python.org
Wed Aug 7 16:04:24 EDT 2019


Change by Antoine Pitrou <pitrou at free.fr>:


----------
nosy:  -pitrou

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


More information about the Python-bugs-list mailing list