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: 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: <4d8bd8a1$0$29977$c3e8da3$5496439d@news.astraweb.com> <4d8d1203$0$29977$c3e8da3$5496439d@news.astraweb.com> <4d90ac87$0$30000$c3e8da3$5496439d@news.astraweb.com> <20110329084657.GE26597@trout.vub.ac.be> <4d93e360$0$29996$c3e8da3$5496439d@news.astraweb.com> <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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Sat, Apr 2, 2011 at 1:29 PM, Paul Rubin wrote: > If "sorting" is in the stdlib like functools is, then the similarity > makes sense and the suggestion isn't so bad. =A0But you're proposing a 3r= d > party module, which is not the same thing at all. =A0"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