Message 337449 - Python tracker

Message337449

Author rhettinger
Recipients Jess, ezio.melotti, michael.foord, rbcollins, remi.lapeyre, rhettinger
Date 2019-03-08.04:15:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552018534.76.0.410641537833.issue36230@roundup.psfhosted.org>
In-reply-to
Content
> I think it should require only a a sort 

It's possible to have non-sortable elements in the set, so you'll either need to sort on the repr of the elements or have a fallback:

    assertSetEqual({10, None, 'abc'}, {20, 3+4j, 10})
History
Date User Action Args
2019-03-08 04:15:34rhettingersetrecipients: + rhettinger, rbcollins, ezio.melotti, michael.foord, remi.lapeyre, Jess
2019-03-08 04:15:34rhettingersetmessageid: <1552018534.76.0.410641537833.issue36230@roundup.psfhosted.org>
2019-03-08 04:15:34rhettingerlinkissue36230 messages
2019-03-08 04:15:34rhettingercreate