Forest <fgr...@gmail.com> added the comment:
Issue https://bugs.python.org/issue24413 also flags a difference in the behavior between dictviews and sets/frozensets. "for non-iterable object x, set().__or__(x) raises NotImplementedError, but {}.keys().__or__(x) raises TypeError" Issue https://bugs.python.org/issue33874 added a number of tests for dictview set operators, but none covering the examples raised here. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33874> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com