Is there any reference for this strange behaviour on Python 2: >>> set() < dict().viewkeys() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: can only compare to a set >>> dict().viewkeys() > set() False
? -- https://mail.python.org/mailman/listinfo/python-list