Julien Palard <julien+pyt...@palard.fr> added the comment:
> It is not strange since dict.keys() in Python 2.7 returns list. Oh, ok thanks :) Do you think that it should be fixed? As it works with sets, I think so: >>> set() | Ror() set() 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38538> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com