[issue38538] dictobject dictviews don't return NotImplemented for unrecognized types.

Inada Naoki report at bugs.python.org
Mon Oct 28 04:29:38 EDT 2019


Inada Naoki <songofacandy at gmail.com> added the comment:

> but it's not that simple as the __or__ of dictviews is less strict that the __or__ of set: __or__ of dictview accept any iterable, __or__ of set only accepts sets.

I want to make it same to set.
But it is a backward incompatible...

----------

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


More information about the Python-bugs-list mailing list