Lie Ryan wrote:
Andre Engels wrote:y = d.values() might also work, but I am not sure whether d.keys() and d.values() are guaranteed to use the same order.If they were called immediately after each other I think they should, but better not rely on it.
otoh, I could not think of any use having the two resulting sequences relate to each other. So in fact it doesn't matter if order is preserved or not. Regards Tino
smime.p7s
Description: S/MIME Cryptographic Signature
-- http://mail.python.org/mailman/listinfo/python-list