anonymous variable

Vladimir Nesterovsky vnestr at netvision.net.il
Sun Jul 8 16:55:28 EDT 2001


Alex Martelli <aleaxit at yahoo.com> wrote in message
news:9i945202rvq at enews3.newsguy.com...
> "Vladimir Nesterovsky" <vnestr at netvision.net.il> wrote in message
> news:9i88o3$hj41s$1 at ID-91128.news.dfncis.de...
> > It might be viewed as a "value sort" or "sort by value",
>
> Right; in addition (which I didn't show in my last post,
> but explain in my Cookbook entry at
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52234)
> it's also pretty easy to make it stable (so that items of the
> original list that map to the same comparable remain in
> the same order as in the original list, a frequent spec:-).

Right; I also found your previous posts on this with Google search. :-)


Thanks,
  Vlad






More information about the Python-list mailing list