Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.149 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.71; '*S*': 0.01; 'subject:method': 0.09; 'pm,': 0.11; 'wrote:': 0.14; 'exposes': 0.16; 'subject:sort': 0.16; 'interface': 0.20; 'header:In-Reply-To:1': 0.22; 'asked': 0.25; 'parameters': 0.26; 'chris': 0.27; 'pass': 0.27; 'message- id:@mail.gmail.com': 0.28; 'changing': 0.29; 'string': 0.29; 'fri,': 0.29; 'class': 0.29; 'all,': 0.31; 'to:addr:python-list': 0.32; 'with.': 0.33; "isn't": 0.34; 'too': 0.36; 'received:209.85': 0.37; 'either': 0.37; 'apr': 0.38; 'else,': 0.38; 'reality': 0.38; 'received:google.com': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'header:Received:5': 0.40; '2011': 0.62; 'transparent': 0.65; '"just': 0.84; 'encapsulates': 0.84; 'received:209.85.210.174': 0.84; 'received:mail-iy0-f174.google.com': 0.84; 'subject:removal': 0.84; 'dealt': 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=mtbESxCtHoCZUs7hBQ+2om+A9ZolA0xh1PtAjhD4m40=; b=CzvHIEsB9rZK/iDS0SFp3r3PsRsI7TH60d3xlVM48mS+2dzNKXivp5/BqOrGXU5uaJ VvENrGmbZ/BNesl4hdNi4jjqN3guMkpdIsOAYU+YlbFWkz+CxvHCMFmBvxGjEoFVZqNj Fl6Xge6AJwCvgOlHXUZiSKhtMsxLqZ41NAQ6I= 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=urk8aNsxHt4ioa8di3rotAIIceXb4RzTfKvyaUKfgf905wuddzk/ejxKtdgKYHvFet 7U189SQKHuaiehVwOojR6eaTvWoX0GC0W/Ldq9nhKgzGo8gEQg1Fd1+gmkHO5qbP1beq 7iHxRX2A/705yvLfLZcJMCKrIVbP1P5hZ14EA= MIME-Version: 1.0 In-Reply-To: References: <4d7cbfcb$0$29971$c3e8da3$5496439d@news.astraweb.com> <4d94326c$0$30003$c3e8da3$5496439d@news.astraweb.com> Date: Fri, 1 Apr 2011 17:30:08 +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: 14 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1301639410 news.xs4all.nl 81476 [::ffff:82.94.164.166]:35717 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:2337 On Fri, Apr 1, 2011 at 5:13 PM, harrismh777 wrote= : > =A0 =A0Corollary 1)a The Class interface never encapsulates cruft. Provably false. Even a well-designed interface, if it is asked to deal with a changing implementation and changing requirements, will eventually either acquire cruft, or be found too rigid to be of use. The only interface immune to this is the transparent interface (effectively: "just package up the parameters in a single string and pass it through"), which isn't really an interface at all, it just exposes something else. In everything else, cruft is a reality that must be dealt with. Chris Angelico