This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mdk
Recipients mdk, methane
Date 2019-10-22.20:47:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571777249.22.0.465981484675.issue38538@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2019-10-22 20:47:29mdksetrecipients: + mdk, methane
2019-10-22 20:47:29mdksetmessageid: <1571777249.22.0.465981484675.issue38538@roundup.psfhosted.org>
2019-10-22 20:47:29mdklinkissue38538 messages
2019-10-22 20:47:29mdkcreate