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


Groups > comp.lang.python > #81974

Re: Python handles globals badly.

Return-Path <wrw@mac.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.163
X-Spam-Level *
X-Spam-Evidence '*H*': 0.68; '*S*': 0.00; 'subject:Python': 0.06; 'elements.': 0.07; 'wrong,': 0.09; 'assume': 0.14; 'thread': 0.14; 'i\xe2\x80\x99m': 0.16; 'received:10.0.1.5': 0.16; 'received:mac.com': 0.16; 'spacing': 0.16; 'threads,': 0.16; 'elements': 0.16; 'wrote:': 0.18; 'received:10.0.1': 0.19; 'thu,': 0.19; '>>>': 0.22; '(in': 0.22; 'url:home': 0.24; 'cc:2**0': 0.24; 'to:2**1': 0.27; 'function': 0.29; 'chris': 0.29; 'dec': 0.30; 'url:mailman': 0.30; 'changed.': 0.31; 'sea': 0.31; 'url:python': 0.33; 'moment': 0.34; 'but': 0.35; '+0200,': 0.36; 'earth': 0.36; 'url:listinfo': 0.36; 'material': 0.36; 'received:10.0': 0.36; 'url:org': 0.36; 'should': 0.36; 'too': 0.37; 'received:10': 0.37; 'problems': 0.38; 'received:17': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'volume': 0.39; 'weight': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'future': 0.60; 'times': 0.62; 'making': 0.63; 'provide': 0.64; 'six': 0.68; 'wear': 0.68; 'therefore': 0.72; 'lack': 0.78; '2014,': 0.84; 'actually,': 0.84; 'atmosphere': 0.84; 'atmospheric': 0.84; 'atomic': 0.84; 'density': 0.84; 'header:In-reply-to:1': 0.84; 'swimming': 0.84; "they'd": 0.84; 'wings,': 0.84; 'same,': 0.91
Content-type text/plain; charset=utf-8
MIME-version 1.0 (Mac OS X Mail 8.1 \(1993\))
Subject Re: Python handles globals badly.
From William Ray Wing <wrw@mac.com>
In-reply-to <d3428ad15paph0curp8qt98151ibo2samh@4ax.com>
Date Thu, 04 Dec 2014 23:17:03 -0500
Content-transfer-encoding quoted-printable
References <c3363$547e74fe$5419aafe$24179@news.ziggo.nl> <mailman.16534.1417610132.18130.python-list@python.org> <b9ec4$547f9679$5419aafe$42415@news.ziggo.nl> <m5odkd$l01$1@ger.gmane.org> <CAMu67Mbu_YL1AOQHY0L1QADRU7KA7frRCYZRMcjGW0go04H9rA@mail.gmail.com> <mailman.16554.1417688990.18130.python-list@python.org> <87a933a88t.fsf@elektro.pacujo.net> <d3428ad15paph0curp8qt98151ibo2samh@4ax.com>
To Dennis Lee Bieber <wlfraed@ix.netcom.com>, python-list@python.org
X-Mailer Apple Mail (2.1993)
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2014-12-05_03:2014-12-04,2014-12-05,1970-01-01 signatures=0
X-Proofpoint-Spam-Details rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1408290000 definitions=main-1412050038
Cc "William R. Wing" <wrw@mac.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.16606.1417756648.18130.python-list@python.org> (permalink)
Lines 47
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1417756648 news.xs4all.nl 2863 [2001:888:2000:d::a6]:60111
X-Complaints-To abuse@xs4all.nl
Path csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Xref csiph.com comp.lang.python:81974

Show key headers only | View raw


> On Dec 4, 2014, at 8:56 PM, Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
> 
> On Thu, 04 Dec 2014 14:51:14 +0200, Marko Rauhamaa <marko@pacujo.net>
> declaimed the following:
> 
>> Chris Angelico <rosuav@gmail.com>:
>> 
>>> A lot of programs don't use threads, and therefore cannot have thread
>>> safety problems - or, looking at it the other way, do not care about
>>> thread safetiness. It's like having Neil Armstrong wear water wings to
>>> make sure he won't drown in the Sea of Tranquility.
>> 
>> The water wings would be too unwieldy since they'd have to be six times
>> as large on the moon. It's all about risk/benefit analysis.
> 
> 	Actually, since the pull of gravity is 1/6th that of earth, but the
> density of the "water" is the Sea is the same, the water wings should be
> smaller to provide the same degree of lift.
> 
> 	Of course, the lack of atmospheric pressure is going to result in the
> water wings expanding, perhaps to the bursting point...
> -- 
> 	Wulfraed                 Dennis Lee Bieber         AF6VN
>    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/
> 
> -- 
> https://mail.python.org/mailman/listinfo/python-list

Wrong, again I’m afraid.  Assume for a moment you are under a dome pressurized to one standard atmosphere in some future moon colony and are in a swimming pool.  Both you AND the water are under 1/6th as much gravitational pull.  Neither your density nor the water’s density has changed. Density is a function of the atomic weight of the elements making up both you and the water and the inter-atomic/molecular spacing of those elements.  Neither has changed.  Therefore the volume of buoyant material (in the case of water wings, air) necessary to keep you above water is the same on earth as it would be on the moon.  

-Bill

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


Thread

Python handles globals badly. "Skybuck Flying" <skybuck2000@hotmail.com> - 2014-12-03 03:27 +0100
  Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2014-12-03 13:35 +1100
  RE: Python handles globals badly. "Clayton Kirkwood" <crk@godblessthe.us> - 2014-12-02 18:53 -0800
  Re: Python handles globals badly. Michael Torrie <torriem@gmail.com> - 2014-12-02 20:13 -0700
    Re: Python handles globals badly. "Skybuck Flying" <skybuck2000@hotmail.com> - 2014-12-03 05:32 +0100
      Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2014-12-03 15:42 +1100
      Re: Python handles globals badly. Dave Angel <davea@davea.name> - 2014-12-03 00:02 -0500
      Re: Python handles globals badly. Michael Torrie <torriem@gmail.com> - 2014-12-02 22:23 -0700
        Re: Python handles globals badly. Marko Rauhamaa <marko@pacujo.net> - 2014-12-03 08:52 +0200
          Re: Python handles globals badly. Joel Goldstick <joel.goldstick@gmail.com> - 2014-12-03 02:17 -0500
      Re: Python handles globals badly. Joshua Landau <joshua@landau.ws> - 2014-12-03 13:07 +0000
      Re: Python handles globals badly. mm0fmf <none@mailinator.com> - 2014-12-03 18:04 +0000
        Re: Python handles globals badly. sohcahtoa82@gmail.com - 2014-12-03 10:16 -0800
          Re: Python handles globals badly. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-04 11:57 +1100
            Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2014-12-04 12:10 +1100
            Re: Python handles globals badly. Joel Goldstick <joel.goldstick@gmail.com> - 2014-12-03 20:23 -0500
          Re: Python handles globals badly. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-03 22:57 -0500
          Re: Python handles globals badly. Michael Torrie <torriem@gmail.com> - 2014-12-03 21:11 -0700
  Re: Python handles globals badly. Ben Finney <ben+python@benfinney.id.au> - 2014-12-03 14:21 +1100
  Re: Python handles globals badly. "Skybuck Flying" <skybuck2000@hotmail.com> - 2014-12-03 05:17 +0100
    Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2014-12-03 15:36 +1100
    Re: Python handles globals badly. Tony the Tiger <tony@tiger.invalid> - 2014-12-04 20:27 +0000
  Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-03 12:35 +0000
    Re: Python handles globals badly. "Skybuck Flying" <skybuck2000@hotmail.com> - 2014-12-04 00:02 +0100
      Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-04 01:32 +0000
      Re: Python handles globals badly. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-03 23:01 -0500
      Re: Python handles globals badly. jtan <admin@grails.asia> - 2014-12-04 13:03 +0800
        Re: Python handles globals badly. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-04 22:35 +1100
          Re: Python handles globals badly. jtan <admin@grails.asia> - 2014-12-04 22:38 +0800
      Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-04 10:24 +0000
      Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2014-12-04 21:29 +1100
        Re: Python handles globals badly. Marko Rauhamaa <marko@pacujo.net> - 2014-12-04 14:51 +0200
          Re: Python handles globals badly. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-04 20:56 -0500
          Re: Python handles globals badly. William Ray Wing <wrw@mac.com> - 2014-12-04 23:17 -0500
      Re: Python handles globals badly. alister <alister.nospam.ware@ntlworld.com> - 2014-12-04 19:54 +0000
  Re: Python handles globals badly. Peter Pearson <pkpearson@nowhere.invalid> - 2014-12-03 20:31 +0000

csiph-web