A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/039698.html below:

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

copysort patch, was RE: [Python-Dev] inline sort option copysort patch, was RE: [Python-Dev] inline sort optionGuido van Rossum guido at python.org
Tue Oct 28 10:18:45 EST 2003
> Okay, this is the last chance to come-up with a name other than
> sorted().
> 
> 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().

While we're voting, I still like list.sorted() best, so please keep
that one in the list of possibilities.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4