Rémi Lapeyre <remi.lape...@henki.fr> added the comment:

@rhettinger
> 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

Yes, it is the repr that is used in the loop and that what's the sorting needs 
to be done against.


@Windson Yang
> we should compare their repr() without sort() like now.

I'm not sure to understand, can you provide more information about what you are 
thinking of?

Is there a reason to add 2.7, 3.4, 3.5, 3.6 and 3.7 to versions affected ?

As far as I can tell, this is a new feature and should only go in 3.8.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36230>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to