On Jan 31, 7:35 am, Ben Finney <[EMAIL PROTECTED]> wrote: > Dustan <[EMAIL PROTECTED]> writes: > > On Jan 30, 7:02 pm, FireNWater <[EMAIL PROTECTED]> wrote: > > > Thank you for the explanation. . . I think I now have a (foggy) > > > understanding of hash tables. It seems to be a way to create order > > > (an index) out of disorder (random numbers or characters) behind > > > the scenes. . > > > The key thing to realize is, quite simply, don't rely on order in a > > dictionary. > > The poster to which you replied is using "order" as contrasted with > "disorder". Clearly dictionaries *do* have order that can be relied > upon.
He was referring to the index. So was I, as in: Don't rely on the index, because the size of the dictionary can vary, and therefore, the index can vary, and therefore, the programmer must recognize that the order of looping can vary. If you're referring to the actual order of looping, then I and every good Python Guru (of which I am not one) disagrees with you. If not, then you're confusing the different meanings of "order" in this context. -- http://mail.python.org/mailman/listinfo/python-list