Serhiy Storchaka added the comment: For now sets and frozensets are comparable with other types in Python 2.
>>> frozenset(xrange(10)) < 1 False >>> set(xrange(10)) < 1 False The only known to me uncomparable types in Python 2 are naive and aware datetime. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20192> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com