Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.090 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.01; 'guido': 0.05; 'developer': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'useful,': 0.14; 'development:': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'posts': 0.26; 'post': 0.26; 'header:In- Reply-To:1': 0.27; 'leave': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'allows': 0.31; 'community': 0.33; 'cases': 0.33; 'actual': 0.34; 'received:google.com': 0.35; "i'll": 0.36; 'url:org': 0.36; 'sometimes': 0.38; 'url:01': 0.39; '12,': 0.39; 'either': 0.39; "you'll": 0.62; 'to:addr:gmail.com': 0.65; 'here': 0.66; 'url:wordpress': 0.78; '2015': 0.84; 'harm.': 0.84; 'shadow': 0.84; 'url:latest': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LrKF9qemvDTqxQjieqPwfvnaRN1BlgR5FnE+LTb5D2o=; b=J5gwZoNeuUPGy6HwadRkFpFq7ipyR0S6fJZ59rXtDmbdRfpYwNrEsOzh82wy+YCLyw rYWa6tU8pIPoisB/6vS0qlcn7R0hIecKpkipMFavGBX7LncBLzUWDYSq3yRT+R7Oyq/F 0B1IFnjv3trUR3yfcxvmbtw/YyvbLDnUrL96dm4+nQDi2c0Ui9vvK2ONYSYZnE+vrygt c1CCCLIGZ4LgbFg5qx3kiUMd2ZEBfrPblc2IfXRSZEug9WiPwtwT+841T3Ge6G9SH12o 0GAMvup3sQ4+PTR0ebyf71GXfbXU0BFVWiEYawZqcsA9F8Ksj4bVMgMtfuWWa1X06zMx +QUA== MIME-Version: 1.0 X-Received: by 10.202.18.203 with SMTP id 194mr12095124ois.110.1431447721401; Tue, 12 May 2015 09:22:01 -0700 (PDT) In-Reply-To: <369b3ce9-14c9-465e-afea-407058a1617a@googlegroups.com> References: <554F9525.5040101@digipen.edu> <5550815E.5080600@rece.vub.ac.be> <5550a1d4$0$13013$c3e8da3$5496439d@news.astraweb.com> <5550B0CF.208@rece.vub.ac.be> <55520685$0$12984$c3e8da3$5496439d@news.astraweb.com> <369b3ce9-14c9-465e-afea-407058a1617a@googlegroups.com> Date: Tue, 12 May 2015 11:22:01 -0500 Subject: Re: anomaly From: Skip Montanaro To: zipher Cc: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431447730 news.xs4all.nl 2886 [2001:888:2000:d::a6]:40348 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90465 On Tue, May 12, 2015 at 10:34 AM, zipher wrote: >> The general principle here is of consenting adults: Python allows you to >> shadow built-ins because sometimes it is useful, and the good outweighs the >> potential harm. > > I think you'll have to give examples, either from the developer community or some significant use cases to be believable. http://docs.python-guide.org/en/latest/writing/style/#we-are-all-responsible-users http://stackoverflow.com/questions/14168791/actual-implementation-of-private-variables-in-python-class I'll leave it for you to rummage around in old Python posts for actual posts by Guido where he has stated, "we're all adults here". I did find this interesting blog post about encapsulation and test-driven development: https://jasonmbaker.wordpress.com/2009/01/08/enemies-of-test-driven-development-part-i-encapsulation/ I found the author's perspective interesting. S