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 serhiy.storchaka
Recipients jbylund, r.david.murray, serhiy.storchaka
Date 2014-12-02.09:15:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417511715.61.0.618291828468.issue20192@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-12-02 09:15:15serhiy.storchakasetrecipients: + serhiy.storchaka, r.david.murray, jbylund
2014-12-02 09:15:15serhiy.storchakasetmessageid: <1417511715.61.0.618291828468.issue20192@psf.upfronthosting.co.za>
2014-12-02 09:15:15serhiy.storchakalinkissue20192 messages
2014-12-02 09:15:15serhiy.storchakacreate