On 8/10/05, Chris Cioffi <[EMAIL PROTECTED]> wrote:
> While the sorted() built in addressed (yet another) community desire, I
> don't think this addresses the underlying expectation of getting dictionary
> keys in some order.  

You do get them in *some* order. ;-)
 
> It works, but it feel like a kludge to me. <shrug> 

To me, it's elegant. Want the keys? Call .keys(). Want them sorted?
Call sorted(). Each tool does one job well.

-- 
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to