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

Mark Russell marktrussell at btopenworld.com
Sat Oct 18 08:32:53 EDT 2003


On Sat, 2003-10-18 at 12:31, Alex Martelli wrote:
> The built-in, or method, 'copysort', would have to accept the same 
> optional arguments as the sort method of lists has just grown, of course.

Yes.  In fact one point it its favour is that there aren't any choices
to be made - the interface should track that of list.sort(), so it
avoids the usual objection to trivial functions that there are many
possible variants.

Mark Russell



More information about the Python-Dev mailing list