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

Richard Futrell report at bugs.python.org
Mon Jun 8 23:04:25 CEST 2015


Changes by Richard Futrell <futrell at mit.edu>:


----------
nosy: canjo
priority: normal
severity: normal
status: open
title: Inconsistent behavior between set and dict_keys/dict_items: for non-iterable object x, set().__or__(x) raises NotImplementedError, but {}.keys().__or__(x) raises TypeError
type: behavior
versions: Python 3.4

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


More information about the New-bugs-announce mailing list