Message231981
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. |
|
Date |
User |
Action |
Args |
2014-12-02 09:15:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, r.david.murray, jbylund |
2014-12-02 09:15:15 | serhiy.storchaka | set | messageid: <1417511715.61.0.618291828468.issue20192@psf.upfronthosting.co.za> |
2014-12-02 09:15:15 | serhiy.storchaka | link | issue20192 messages |
2014-12-02 09:15:15 | serhiy.storchaka | create | |
|