Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90474

Re: anomaly

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.059
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'try:': 0.09; 'python': 0.11; 'list)': 0.16; 'nameerror:': 0.16; 'str,': 0.16; 'wrote:': 0.18; 'unicode': 0.24; 'pass': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'int,': 0.31; 'types.': 0.31; 'with,': 0.31; '(e.g.': 0.33; 'problem': 0.35; 'except': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'functions.': 0.36; 'to:addr:python-list': 0.38; '12,': 0.39; 'to:addr:python.org': 0.39; 'name': 0.63; 'more': 0.64; '2015': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=4dpS6f8SU05wCC5Et4f66dsiE6yUKx6twYLOsCIiFZ0=; b=Jg3tkxAzZ5HpxVthSMOEAoBYARiDTCMvugvWpYw5v8C11Mv4sT8yz2eSjjIQeu6Nde M29QO8wCToLbTHMh0zEln+TLCuHNgMgnSYY6gs/8cWOLOdEkf8nPkSj9QEDMO2CmocnQ 7lMXdrWN4lVN2PK2BxshUT7gcqfoDAzA2vtRpZ2gUaJ/elLKJG5zAEiRWP/qlvE7RoYe KRNa40wlnEStP8FtKx1NbnqM6pIAjlFgv4FJFqoy5ZAq1cqPw9ubjYgW3dU6wq9VXE39 qfEKWANUFTWJyZP/GT/+u8jVtllaLEePcW1Zi7S1GPrKRxX9HszAMOI4xU304WMhFVvf iKjQ==
X-Received by 10.43.65.19 with SMTP id xk19mr4581004icb.20.1431454107695; Tue, 12 May 2015 11:08:27 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <369b3ce9-14c9-465e-afea-407058a1617a@googlegroups.com>
References <CAMjeLr--RfnfgWc1hdOcHiEBpq3QwC7SZk-m14wM65JtpbgMLQ@mail.gmail.com> <mailman.318.1431276220.12865.python-list@python.org> <c681b3ce-2727-4aa9-ad8a-369c662395a3@googlegroups.com> <554F9525.5040101@digipen.edu> <5550815E.5080600@rece.vub.ac.be> <miq0vh$tdg$1@ger.gmane.org> <mailman.352.1431344390.12865.python-list@python.org> <5550a1d4$0$13013$c3e8da3$5496439d@news.astraweb.com> <5550B0CF.208@rece.vub.ac.be> <CAPTjJmpHqXJz-DsJHxy9Vc8eg7uOVY6QCVuV1KHy8wZrc=EH2g@mail.gmail.com> <mailman.391.1431431746.12865.python-list@python.org> <55520685$0$12984$c3e8da3$5496439d@news.astraweb.com> <369b3ce9-14c9-465e-afea-407058a1617a@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Tue, 12 May 2015 12:07:47 -0600
Subject Re: anomaly
To Python <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.407.1431454110.12865.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1431454110 news.xs4all.nl 2890 [2001:888:2000:d::a6]:59749
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:90474

Show key headers only | View raw


On Tue, May 12, 2015 at 9:34 AM, zipher <dreamingforward@gmail.com> 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.

try:
    str = unicode  # Use the Python 3 name.
except NameError:
    pass

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: anomaly Ian Kelly <ian.g.kelly@gmail.com> - 2015-05-10 10:42 -0600
  Re: anomaly Rustom Mody <rustompmody@gmail.com> - 2015-05-10 09:48 -0700
    Re: anomaly Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-10 18:21 +0100
    Re: anomaly Gary Herron <gherron@digipen.edu> - 2015-05-10 10:28 -0700
      Re: anomaly Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-11 13:19 +1000
    Re: anomaly boB Stepp <robertvstepp@gmail.com> - 2015-05-10 14:12 -0500
      Re: anomaly Mel Wilson <mwilson@the-wire.com> - 2015-05-11 13:37 +0000
        Re: anomaly Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-12 02:35 +1000
          Re: anomaly Mel Wilson <mwilson@the-wire.com> - 2015-05-11 20:48 +0000
            Re: anomaly Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-12 12:18 +1000
    Re: anomaly Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-11 08:40 +0100
    Re: anomaly Chris Angelico <rosuav@gmail.com> - 2015-05-11 17:44 +1000
    Re: anomaly Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-05-11 12:15 +0200
      Re: anomaly John Ladasky <john_ladasky@sbcglobal.net> - 2015-05-12 17:47 -0700
        Re: anomaly Rustom Mody <rustompmody@gmail.com> - 2015-05-12 17:56 -0700
          Re: anomaly Paul Rubin <no.email@nospam.invalid> - 2015-05-12 19:16 -0700
            Re: anomaly Rustom Mody <rustompmody@gmail.com> - 2015-05-12 19:31 -0700
    Re: anomaly Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-11 11:40 +0100
    Re: anomaly Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-05-11 13:39 +0200
      Re: anomaly Marko Rauhamaa <marko@pacujo.net> - 2015-05-11 14:58 +0300
        Re: anomaly Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-05-11 15:27 +0200
          Re: anomaly Marko Rauhamaa <marko@pacujo.net> - 2015-05-11 17:03 +0300
            Re: anomaly zipher <dreamingforward@gmail.com> - 2015-05-11 07:56 -0700
              Re: anomaly Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-05-11 20:32 -0400
            Re: anomaly Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-05-12 13:34 +0200
          Re: anomaly Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-12 01:44 +1000
            Re: anomaly zipher <dreamingforward@gmail.com> - 2015-05-11 09:17 -0700
            Re: anomaly Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-05-11 20:33 -0400
            Re: anomaly Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-05-12 14:31 +0200
      Re: anomaly Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-11 22:34 +1000
        Re: anomaly Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-05-11 15:38 +0200
        Re: anomaly Chris Angelico <rosuav@gmail.com> - 2015-05-12 00:13 +1000
        Re: anomaly Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-05-12 17:37 +1200
        Re: anomaly Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-05-12 13:55 +0200
          Re: anomaly Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-12 23:56 +1000
            Re: anomaly zipher <dreamingforward@gmail.com> - 2015-05-12 08:34 -0700
              Re: anomaly Chris Angelico <rosuav@gmail.com> - 2015-05-13 01:43 +1000
                Re: anomaly zipher <dreamingforward@gmail.com> - 2015-05-12 20:39 -0700
              Re: anomaly Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-12 17:19 +0100
                Re: anomaly zipher <dreamingforward@gmail.com> - 2015-05-13 08:19 -0700
              Re: anomaly Skip Montanaro <skip.montanaro@gmail.com> - 2015-05-12 11:22 -0500
                Re: anomaly Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-13 13:58 +1000
              Re: anomaly Ian Kelly <ian.g.kelly@gmail.com> - 2015-05-12 12:07 -0600
            Re: anomaly Terry Reedy <tjreedy@udel.edu> - 2015-05-12 16:23 -0400
            Re: anomaly Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-05-13 09:07 +0200
          Re: anomaly Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-05-13 12:19 +1200
            Re: anomaly Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-05-13 09:23 +0200
        Re: anomaly Gary Herron <gherron@digipen.edu> - 2015-05-12 09:07 -0700
    Re: anomaly Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-11 12:47 +0100
    Re: anomaly boB Stepp <robertvstepp@gmail.com> - 2015-05-11 07:43 -0500
    Re: anomaly boB Stepp <robertvstepp@gmail.com> - 2015-05-11 07:26 -0500
  Re: anomaly zipher <dreamingforward@gmail.com> - 2015-05-10 17:48 -0700
    Re: anomaly Gary Herron <gherron@digipen.edu> - 2015-05-10 18:07 -0700
      Re: anomaly zipher <dreamingforward@gmail.com> - 2015-05-10 18:18 -0700
        Re: anomaly Chris Angelico <rosuav@gmail.com> - 2015-05-11 11:53 +1000
          Re: anomaly zipher <dreamingforward@gmail.com> - 2015-05-10 19:09 -0700
          Re: anomaly Rustom Mody <rustompmody@gmail.com> - 2015-05-10 19:12 -0700
            Re: anomaly Chris Angelico <rosuav@gmail.com> - 2015-05-11 12:20 +1000
        Re: anomaly BartC <bc@freeuk.com> - 2015-05-11 12:55 +0100

csiph-web