Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2428

Re: Guido rethinking removal of cmp from sort method

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.news-service.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.026
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'ubuntu': 0.04; 'interpreter': 0.07; 'python': 0.07; 'proposing': 0.09; 'subject:method': 0.09; 'pm,': 0.11; 'wrote:': 0.14; 'library': 0.15; 'chmod': 0.16; 'functools': 0.16; 'included"': 0.16; 'justify': 0.16; 'sorting': 0.16; 'subject:sort': 0.16; 'sure,': 0.16; 'this",': 0.16; 'header:In-Reply-To:1': 0.22; 'module,': 0.23; 'expect': 0.26; 'script': 0.26; 'work.': 0.27; 'message- id:@mail.gmail.com': 0.28; 'sat,': 0.29; '"you': 0.29; 'third- party': 0.29; 'all.': 0.30; 'list': 0.30; 'comment': 0.30; 'paul': 0.32; 'to:addr:python-list': 0.32; 'project': 0.32; 'another': 0.32; 'things': 0.33; 'bit': 0.33; 'module': 0.33; 'on,': 0.33; "isn't": 0.34; 'post': 0.34; 'actually': 0.34; 'requires': 0.35; 'suggestion': 0.35; 'that,': 0.35; 'put': 0.35; 'module.': 0.35; 'too': 0.36; 'doing': 0.36; 'rather': 0.36; 'enough': 0.37; 'system.': 0.37; 'two': 0.37; 'some': 0.37; 'received:209.85': 0.37; 'run': 0.37; 'apr': 0.38; 'received:google.com': 0.38; 'but': 0.38; 'end': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; "it's": 0.40; 'header:Received:5': 0.40; 'unusual': 0.60; 'give': 0.61; '2011': 0.62; 'making': 0.62; 'plus': 0.65; 'harder': 0.65; 'hands': 0.65; 'share': 0.67; 'received:209.85.210.174': 0.84; 'received:mail- iy0-f174.google.com': 0.84; 'subject:removal': 0.84; '\xa0but': 0.84; 'can:': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=PxnAjr7Pn4VUumkJO0ZuP2aOWsA3yme8zW8oTvBGemg=; b=QOcR4X5t9HGbRkGLDuDvtDx42CYUVxP1aMVKEhh/5BduTfmStm1hnp9qzZU2HRq3QQ 8yvbGwRroKo4TGv/YeV9s+ovFkVIIVOKGNE0fs1bOREYqqxdD1R5t9YALCb+7zwdJJqf t3vtXfqZhAXO5cR1iI/G9QR6rNzGnmPjBMYwo=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=VXQId7F5VsSwCID1uOXdXwWca4oIhcDv7OuIkStf9D+CKIusVXD/xaUcstUIJsVcpp 9sMJnQBImFOSdgzfl41aSTdS70v/8syP9FESOjp3ujyaqxuSeIcCAZKGfnpr2Wy0DZ/B jj4xTYrk435ja9v2fphKh7XskR0VdkN5fQayA=
MIME-Version 1.0
In-Reply-To <7xtyeh4c7s.fsf@ruckus.brouhaha.com>
References <AANLkTi=Ux2wRJ8u=myd1jeneR+kZiFhtnwDLHm=GtFtV@mail.gmail.com> <mailman.1207.1300985048.1189.python-list@python.org> <4d8bd8a1$0$29977$c3e8da3$5496439d@news.astraweb.com> <mailman.1231.1301044708.1189.python-list@python.org> <4d8d1203$0$29977$c3e8da3$5496439d@news.astraweb.com> <mailman.1333.1301315748.1189.python-list@python.org> <4d90ac87$0$30000$c3e8da3$5496439d@news.astraweb.com> <20110329084657.GE26597@trout.vub.ac.be> <AANLkTinyEpTVaAjikP8M108ymj=J6LV2styp+Md-siwj@mail.gmail.com> <imtcab$r3r$1@dough.gmane.org> <mailman.9.1301475780.2990.python-list@python.org> <4d93e360$0$29996$c3e8da3$5496439d@news.astraweb.com> <mailman.105.1301693472.2990.python-list@python.org> <4d9670a9$0$29992$c3e8da3$5496439d@news.astraweb.com> <7xtyeh4c7s.fsf@ruckus.brouhaha.com>
Date Sat, 2 Apr 2011 13:43:46 +1100
Subject Re: Guido rethinking removal of cmp from sort method
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.116.1301712230.2990.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 82.94.164.166
X-Trace 1301712230 news.xs4all.nl 41117 [::ffff:82.94.164.166]:41921
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:2428

Show key headers only | View raw


On Sat, Apr 2, 2011 at 1:29 PM, Paul Rubin <no.email@nospam.invalid> wrote:
> If "sorting" is in the stdlib like functools is, then the similarity
> makes sense and the suggestion isn't so bad.  But you're proposing a 3rd
> party module, which is not the same thing at all.  "Batteries included"
> actually means something...

To me, "batteries included" means that I can:
1) Write a Python script on any Ubuntu laptop that I put my hands on,
and expect it to work.
2) Put a shebang on it, chmod it plus exx, and give it to someone, and
expect it to work on his system.
3) Post it to my web site along with the comment "You will need a
Python interpreter to run this", and expect it to work.

Every third-party library I need weakens that. Sure, situation 1 isn't
too hard; but the other two end up becoming a bit awkward. The
Yosemite Project requires a support module on Windows, making it that
bit harder to share with people; but I accept that, because it's doing
some rather unusual things (simulating keypresses on another window).
Sorting a list is not unusual enough to justify a third-party module.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Guido rethinking removal of cmp from sort method Antoon Pardon <Antoon.Pardon@rece.vub.ac.be> - 2011-03-30 11:06 +0200
  Re: Guido rethinking removal of cmp from sort method Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-03-31 02:13 +0000
    Re: Guido rethinking removal of cmp from sort method Antoon Pardon <Antoon.Pardon@rece.vub.ac.be> - 2011-03-31 11:41 +0200
      Re: Guido rethinking removal of cmp from sort method Paul Rubin <no.email@nospam.invalid> - 2011-03-31 04:59 -0700
    Re: Guido rethinking removal of cmp from sort method geremy condra <debatem1@gmail.com> - 2011-04-01 14:31 -0700
      Re: Guido rethinking removal of cmp from sort method Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-02 00:41 +0000
        Re: Guido rethinking removal of cmp from sort method geremy condra <debatem1@gmail.com> - 2011-04-01 18:22 -0700
          Re: Guido rethinking removal of cmp from sort method Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-02 11:01 +0000
            Re: Guido rethinking removal of cmp from sort method geremy condra <debatem1@gmail.com> - 2011-04-02 23:22 -0700
            Re: Guido rethinking removal of cmp from sort method Brian Quinlan <brian@sweetapp.com> - 2011-04-03 16:34 +1000
              Re: Guido rethinking removal of cmp from sort method Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-03 10:21 +0000
                Re: Guido rethinking removal of cmp from sort method geremy condra <debatem1@gmail.com> - 2011-04-03 12:58 -0700
        Re: Guido rethinking removal of cmp from sort method Paul Rubin <no.email@nospam.invalid> - 2011-04-01 19:29 -0700
          Re: Guido rethinking removal of cmp from sort method Chris Angelico <rosuav@gmail.com> - 2011-04-02 13:43 +1100
          Re: Guido rethinking removal of cmp from sort method Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-02 11:27 +0000

csiph-web