copysort patch, was RE: [Python-Dev] inline sort option
python at rcn.com
Fri Oct 17 21:25:50 EDT 2003
> > > 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).
> > Let's make explicit: l.copysort()
> > I'm not a big fan of grammatical suffixes for
> distinguishing between
> > similar meanings.
> +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:
More information about the Python-Dev