When convert two sets with the same elements to lists, are the lists always going to be the same?
Chris Angelico
rosuav at gmail.com
Fri May 4 07:21:30 EDT 2012
More information about the Python-list mailing list
Fri May 4 07:21:30 EDT 2012
- Previous message (by thread): When convert two sets with the same elements to lists, are the lists always going to be the same?
- Next message (by thread): When convert two sets with the same elements to lists, are the lists always going to be the same?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, May 4, 2012 at 8:14 PM, Peng Yu <pengyu.ut at gmail.com> wrote: > Thanks. This is what I'm looking for. I think that this should be > added to the python document as a manifestation (but nonnormalized) of > what "A set object is an unordered collection of distinct hashable > objects" means. There are other things that can prove it to be unordered, too; the exact pattern and order of additions and deletions can affect the iteration order. The only thing you can be sure of is that you can't be sure of it. ChrisA
- Previous message (by thread): When convert two sets with the same elements to lists, are the lists always going to be the same?
- Next message (by thread): When convert two sets with the same elements to lists, are the lists always going to be the same?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list