copysort patch, was RE: [Python-Dev] inline sort option
Raymond Hettinger
python at rcn.com
Fri Oct 17 21:25:50 EDT 2003
[GvR]
> > > like type checkers (and IMO are also easily overseen by human
> > > readers). And, it's easier to write l.sorted() rather than
> > > l.sort(inline=True).
[Aahz]
> > Let's make explicit: l.copysort()
> >
> > I'm not a big fan of grammatical suffixes for
> distinguishing between
> > similar meanings.
>
> +1
[Facundo]
> +2, considering that the difference in behaviour with sort and
> sorted it's no so clear to a non-english speaker.
FWIW, I've posted a patch to implement list.copysort() that
includes a news announcement, docs, and unittests:
www.python.org/sf/825814
Raymond Hettinger
More information about the Python-Dev
mailing list