copysort patch, was RE: [Python-Dev] inline sort option

Raymond Hettinger python at
Tue Oct 28 05:29:21 EST 2003

Okay, this is the last chance to come-up with a name other than

Here are some alternatives:

  inlinesort()   # immediately clear how it is different from sort()
  sortedcopy()   # clear that it makes a copy and does a sort
  newsorted()    # appropriate for a class method constructor

I especially like the last one and all of them provide a distinction
from list.sort().

Raymond Hettinger

More information about the Python-Dev mailing list