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


Groups > comp.lang.python > #89493

Re: Not possible to hide local variables

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 <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'attributes': 0.09; 'caller': 0.09; 'messing': 0.09; 'subject:hide': 0.09; 'themselves,': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Not': 0.16; 'subject:possible': 0.16; 'variables,': 0.16; 'exception': 0.16; 'wrote:': 0.18; '(the': 0.22; 'to:name:python-list@python.org': 0.22; 'extension': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; "d'aprano": 0.31; 'steven': 0.31; "we're": 0.32; 'could': 0.34; 'objects': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'convention': 0.38; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'you.': 0.62; 'nobody': 0.68; '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:date:message-id:subject:from:to :content-type; bh=bxd2opLT9Jdud7XH+yCKJ5R2YKbIcLAU6bkBJibNLyo=; b=ctiLp4Hu1qJHuF/ozH7sFzx7E61RYP1g90Yd5wPHvPwSr3l9xvciouGwt8q17Ark8r 8FPzdNinl9g9vB4NRE51Mafu/dJB4Ov5E3yBqyZOc82xWYoTtpItjFR/plhBsJhC7aGL /8LI9KdPDoAXzso7gj42hP39/k9YQhMU9EP7nZs0C9XATHXAzooKUPlDX+ZSueb375QI PaCgNwTH3AYG+JATINtLdlGL627EOkUoMGAmQCNyEHFn8WdzWsaoD/84l4G0muFbo+w0 Td9LL8PcJ9QgWLclO2/MRRah67hhIodezoCWGSCog+4RM7KBv4h++O8MverbA9smNFmO jR6g==
MIME-Version 1.0
X-Received by 10.107.160.202 with SMTP id j193mr19719071ioe.43.1430210685462; Tue, 28 Apr 2015 01:44:45 -0700 (PDT)
In-Reply-To <553f46d2$0$11124$c3e8da3@news.astraweb.com>
References <874mo0zoz2.fsf@Equus.decebal.nl> <553f46d2$0$11124$c3e8da3@news.astraweb.com>
Date Tue, 28 Apr 2015 18:44:45 +1000
Subject Re: Not possible to hide local variables
From Chris Angelico <rosuav@gmail.com>
To "python-list@python.org" <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.60.1430210687.3680.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1430210687 news.xs4all.nl 2909 [2001:888:2000:d::a6]:47857
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:89493

Show key headers only | View raw


On Tue, Apr 28, 2015 at 6:37 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> The convention is, if the caller messes with your private attributes or
> variables, and their code breaks, they have nobody to blame but themselves,
> and we are allowed to laugh at them. We're consenting adults here.
>
> (The only exception is C extension objects and built-ins, where messing with
> private data could cause a segfault.)

Hey. If you cause a segfault, we're still allowed to laugh at you.

ChrisA

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


Thread

Not possible to hide local variables Cecil Westerhof <Cecil@decebal.nl> - 2015-04-28 09:33 +0200
  Re: Not possible to hide local variables Ethan Furman <ethan@stoneleaf.us> - 2015-04-28 00:56 -0700
    Re: Not possible to hide local variables Cecil Westerhof <Cecil@decebal.nl> - 2015-04-29 08:16 +0200
      Re: Not possible to hide local variables Michael Torrie <torriem@gmail.com> - 2015-04-29 21:10 -0600
  Re: Not possible to hide local variables Chris Angelico <rosuav@gmail.com> - 2015-04-28 18:06 +1000
    Re: Not possible to hide local variables Cecil Westerhof <Cecil@decebal.nl> - 2015-04-29 08:25 +0200
      Re: Not possible to hide local variables Chris Angelico <rosuav@gmail.com> - 2015-04-29 17:36 +1000
  Re: Not possible to hide local variables Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-28 18:37 +1000
    Re: Not possible to hide local variables Chris Angelico <rosuav@gmail.com> - 2015-04-28 18:44 +1000
    Re: Not possible to hide local variables Marko Rauhamaa <marko@pacujo.net> - 2015-04-28 12:20 +0300
    Re: Not possible to hide local variables Cecil Westerhof <Cecil@decebal.nl> - 2015-04-29 08:32 +0200
      Re: Not possible to hide local variables Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-30 14:05 +1000
        Re: Not possible to hide local variables Marko Rauhamaa <marko@pacujo.net> - 2015-04-30 08:10 +0300
          Re: Not possible to hide local variables Chris Angelico <rosuav@gmail.com> - 2015-04-30 16:01 +1000
  Re: Not possible to hide local variables Cecil Westerhof <Cecil@decebal.nl> - 2015-04-29 08:14 +0200
  Re: Not possible to hide local variables Grant Edwards <invalid@invalid.invalid> - 2015-04-29 14:16 +0000
    Re: Not possible to hide local variables Dave Angel <davea@davea.name> - 2015-04-29 22:31 -0400
    Re: Not possible to hide local variables Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-04-30 08:53 -0400
      Re: Not possible to hide local variables Cecil Westerhof <Cecil@decebal.nl> - 2015-04-30 16:50 +0200

csiph-web