Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'pypi': 0.04; 'python.': 0.05; 'received:mail-qy0-f174.google.com': 0.07; 'python': 0.07; 'admit': 0.09; 'cases.': 0.09; 'indicates': 0.09; 'subject:method': 0.09; 'sun,': 0.09; '>>>': 0.12; 'essentially': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'cookbook': 0.16; 'extension,': 0.16; 'received:209.85.216.174': 0.16; 'subject:sort': 0.16; 'class,': 0.16; 'awesome': 0.19; 'stick': 0.19; 'modules': 0.20; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'code,': 0.20; 'appropriate': 0.21; 'header:In-Reply-To:1': 0.22; 'cc:addr :python-list': 0.22; 'fail': 0.22; 'issue,': 0.23; 'purposes.': 0.23; 'asked': 0.25; 'there.': 0.26; "i'm": 0.26; 'function': 0.27; 'message-id:@mail.gmail.com': 0.28; 'developers': 0.28; 'core': 0.28; 'discussed': 0.29; 'certainly': 0.29; 'cc:addr:python.org': 0.31; 'recreate': 0.31; 'survive': 0.31; "they'll": 0.31; 'vast': 0.31; 'cross': 0.33; 'pure': 0.33; 'module': 0.33; 'test': 0.33; "isn't": 0.34; 'apply': 0.34; 'certain': 0.34; 'there': 0.35; 'point': 0.35; 'scale.': 0.35; 'slow': 0.35; 'votes': 0.35; 'rather': 0.36; 'brian': 0.36; 'feature': 0.36; 'think': 0.36; "we're": 0.37; 'some': 0.37; 'case': 0.37; 'received:209.85': 0.37; 'apr': 0.38; 'steven': 0.38; 'received:google.com': 0.38; 'but': 0.38; 'third': 0.38; 'majority': 0.39; 'under': 0.39; 'comments': 0.39; 'could': 0.39; 'where': 0.39; 'received:209': 0.39; 'issues': 0.39; 'similar': 0.40; 'would': 0.40; 'header:Received:5': 0.40; 'simple': 0.60; 'learn': 0.60; 'address': 0.61; 'back': 0.61; '2011': 0.62; 'making': 0.62; 'yourself': 0.66; 'probability': 0.68; 'hand,': 0.72; 'barrier': 0.84; 'overwhelming': 0.84; 'popularity': 0.84; 'subject:removal': 0.84; 'viable': 0.84; 'acknowledge': 0.96; 'investing': 0.98 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:cc:content-type; bh=6O8L8RigLai8pwv8wsOaRU9EEaWEP4JGNEzVDo8Kkx8=; b=KIp92I0IslFLJMYR/rqJ9Zo5o3600vjLr7sTR1rHX+cm14X03z85Pr8DX5T94Xavjw ib2XeoaCazY1NIQQ6CtFbBbk/5TMALcXKPC3MsvdnkfCW/i23lEcEJ/qLss9KQ36CKbH o5ph4TNuRlnfVA3LVgP5A0ezVM7sD0r25nOww= 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 :cc:content-type; b=SogCTg5WTkXyxe/6qOucLnrgMw4KptLmP6Uy6a3Ltaqwu2qCqVO4RyLGCLYbuWbTzH pYNkeKKTUBZCNU7zGyAPPOL3C9Il5nvsLUm/CM/C8V6LlXBJOYvaljIsE23Gr+AmSEYB OGyRV7vpq28gc760BRbnUaVmxIMcrHEDtmuuA= MIME-Version: 1.0 In-Reply-To: <4d984a21$0$29992$c3e8da3$5496439d@news.astraweb.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> <4d97020f$0$29992$c3e8da3$5496439d@news.astraweb.com> <4d984a21$0$29992$c3e8da3$5496439d@news.astraweb.com> Date: Sun, 3 Apr 2011 12:58:05 -0700 Subject: Re: Guido rethinking removal of cmp from sort method From: geremy condra To: "Steven D'Aprano" Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org 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: 40 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1301860688 news.xs4all.nl 65870 [::ffff:82.94.164.166]:46931 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:2534 On Sun, Apr 3, 2011 at 3:21 AM, Steven D'Aprano wrote: > On Sun, 03 Apr 2011 16:34:34 +1000, Brian Quinlan wrote: > >> On 3 Apr 2011, at 16:22, geremy condra wrote: >>> I think we're talking at cross purposes. The point I'm making is that >>> there are lots of issues where popularity as a third party module isn't >>> really a viable test for whether a feature is sufficiently awesome to >>> be in core python. As part of determining whether I thought it was >>> appropriate in this case I essentially just asked myself whether any of >>> the really good and necessary parts of Python would fail to be >>> readmitted under similar circumstances, and I think the answer is that >>> very few would come back in. To me, that indicates that this isn't the >>> right way to address this issue, although I admit that I lack any solid >>> proof to base that conclusion on. >> >> This has been discussed a few times on python-dev. I think that most >> developers acknowledge that small-but-high-utility modules would not >> survive outside of the core because people would simple recreate them >> rather than investing the time to find, learn and use them. > > That's certainly true for pure Python code, but for a C extension, the > barrier to Do It Yourself will be much higher for most Python coders. I don't think people will work around it in C. I think they'll grudgingly accept a slow and kludgy python workaround, and more to the point I think they would do that with a vast majority of features at this scale. That's why I say this isn't a good test here- because you could apply it to a great feature or a terrible feature and with overwhelming probability have them fail in both cases. > On the other hand, for a pure Python function or class, you could stick > it on ActiveState's Python cookbook and get some imperfect measure of > popularity and/or usefulness from the comments and votes there. Frankly, I have little trust in this as a measure of popularity. Even PyPI isn't a great indicator, and the numbers you get off of ActiveState are almost certain to be way, way noisier. Geremy Condra