Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.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.049 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'python.': 0.02; 'cc:addr :python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'list)': 0.16; 'str,': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'versions': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; '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; 'received:google.com': 0.35; 'there': 0.35; 'functions.': 0.36; 'that,': 0.38; 'explain': 0.39; '12,': 0.39; 'tell': 0.60; "you've": 0.63; 'name': 0.63; 'more': 0.64; 'between': 0.67; '2015': 0.84; 'to:none': 0.92 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:cc :content-type; bh=0lSnd5W6ZyuAb0HOGXbbIJh6/nBzz9/AqJMO2dNeczk=; b=K0rd1+jgVqrul4g3/J3Cuq7XNySc3t1O/G1xoR6cdW59uYWNVjHVKA5vRZ6cNCd6A3 FXAOH02pMULpeoQaDS0mVekOqv8yIgIfSp0cMORnFI6S1eOs3A6OHh/AznNg89fmRjDj DfFvoofotSyJU/JN70v0+DtXXFu6ceWnQ0tzN8aErkQm3EVR1RAEvX+VUkJE+9T1mfGo LbKD0xT1PGY10YU9B9lvz9CUixFxX5esYQiNg3XE7ooVMCEwEQMS5xSQeMwgH5A+/1VZ O+tQvLf11GVT/32jXKdxUWvOvKb8xfRXj2F4iJzK3YzYiiF6BqUYvhM5ONInKsWfvaw6 qOHg== MIME-Version: 1.0 X-Received: by 10.107.16.32 with SMTP id y32mr20418700ioi.53.1431445406956; Tue, 12 May 2015 08:43:26 -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: Wed, 13 May 2015 01:43:26 +1000 Subject: Re: anomaly From: Chris Angelico Cc: "python-list@python.org" 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431445410 news.xs4all.nl 2830 [2001:888:2000:d::a6]:39917 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90458 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