Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3a.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'from:addr:yahoo.co.uk': 0.04; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'worse': 0.09; 'language.': 0.14; 'list)': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'str,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'wed,': 0.18; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'versions': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; '13,': 0.31; "d'aprano": 0.31; 'int,': 0.31; 'steven': 0.31; 'types.': 0.31; 'with,': 0.31; '(e.g.': 0.33; 'problem': 0.35; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'functions.': 0.36; "he's": 0.36; 'feed': 0.38; 'to:addr:python- list': 0.38; 'that,': 0.38; 'explain': 0.39; '12,': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'tell': 0.60; "you've": 0.63; 'name': 0.63; 'our': 0.64; 'more': 0.64; 'charset:windows-1252': 0.65; 'between': 0.67; '2015': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: anomaly Date: Tue, 12 May 2015 17:19:19 +0100 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> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-185-107.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431447571 news.xs4all.nl 2821 [2001:888:2000:d::a6]:37170 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90464 On 12/05/2015 16:43, Chris Angelico wrote: > On Wed, May 13, 2015 at 1:34 AM, zipher wrote: >> On Tuesday, May 12, 2015 at 8:56:32 AM UTC-5, Steven D'Aprano wrote: >>> * when it comes to built-in functions (e.g. sum, map, pow) >>> and types (e.g. int, str, list) there are significant and >>> important use-cases for allowing shadowing; >> >> Name one "significant and important" use case for shadowing built-in types. Functions, I don't have a problem with, but types are more fundamental than functions. >> > > Please tell me what, precisely, is the difference between a type and a > function. Once you've settled that, please explain to me what the > built-in name 'int' is in all versions of Python. > > ChrisA > Do we really have to feed this guy, he's worse than the RUE? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence