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


Groups > comp.lang.python > #81861

Re: Python handles globals badly.

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!81.171.88.16.MISMATCH!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <joshua.landau.ws@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.029
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'open-source': 0.04; 'subject:Python': 0.06; 'variables': 0.07; 'feature,': 0.09; 'part,': 0.09; 'python': 0.11; 'fork': 0.16; 'former,': 0.16; 'objects.': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'code.': 0.18; 'library': 0.18; 'example': 0.22; 'comfortable': 0.22; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'message- id:@mail.gmail.com': 0.30; 'convince': 0.31; 'flying': 0.31; 'anyone': 0.31; 'this.': 0.32; 'to:name:python-list': 0.33; 'could': 0.34; 'december': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'largely': 0.36; 'list': 0.37; 'project': 0.37; 'being': 0.38; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; 'how': 0.40; 'life,': 0.60; 'most': 0.60; 'new': 0.61; "you're": 0.61; "you'll": 0.62; 'show': 0.63; 'volunteers,': 0.84; 'good,': 0.91; 'convinced': 0.93; 'yours.': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=w/SGCpzUIWJ9z924X0eLvLYbOkv/TFCxr+WHeBntTJc=; b=fmTgXjL0cfOjl1kXGQeVBhq171Z1AChq1Q5TbEqi7DW0MJ4i5XNRNH6j7fVu5QKsnl gPzs5GXBJmhTHGO+xmeYUD/1u/XaF/GOwQEPP+K9iU1eJYgMZhUJxW+gkBXtro1qjLGj cVre+P2y3w372jCP0hG3QbEJtfUNJm4c4at/n8PdJCsjtLTpViD3RyUJf8j71HwkVeku cUchuwXviEL2H0qz6jeE9I3xbdOXl8U11R5oi1p0CVWsICMYTldEh4NN7qhdUeuI4Wbf KPlRzkqVjDbwNDUmiT0PgIRG1tpHtpbMzeTDKuoOckk0e1vsAdJCy/vecCeFyZTAyjYl IMUA==
X-Received by 10.112.137.39 with SMTP id qf7mr4158918lbb.47.1417612105197; Wed, 03 Dec 2014 05:08:25 -0800 (PST)
MIME-Version 1.0
Sender joshua.landau.ws@gmail.com
In-Reply-To <b257d$547e9225$5419aafe$17940@news.ziggo.nl>
References <c3363$547e74fe$5419aafe$24179@news.ziggo.nl> <mailman.16509.1417576416.18130.python-list@python.org> <b257d$547e9225$5419aafe$17940@news.ziggo.nl>
From Joshua Landau <joshua@landau.ws>
Date Wed, 3 Dec 2014 13:07:45 +0000
X-Google-Sender-Auth iUrCmR8igsTodDjLiUOV0xShCNY
Subject Re: Python handles globals badly.
To python-list <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.16535.1417612112.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1417612112 news.xs4all.nl 2879 [2001:888:2000:d::a6]:57981
X-Complaints-To abuse@xs4all.nl
X-Received-Body-CRC 2499246304
X-Received-Bytes 4407
Xref csiph.com comp.lang.python:81861

Show key headers only | View raw


On 3 December 2014 at 04:32, Skybuck Flying <skybuck2000@hotmail.com> wrote:
>
> I am still new at python and definetly don't feel comfortable with the
> object feature, though I did use it for these variables which are actually
> objects.

If you are being serious, please take into consideration that there is
no way you are going to convince anyone on this list with the way you
are asking. For the most part, people will be convinced when you show
them something that would improve *their* life, not something that
would improve yours. Being an open-source project lead largely by
volunteers, either you convince people on their terms or you go fork
the project.

To do the former, find an example in the standard library or some
popular codebase and show how what you're suggesting could improve the
code. If your example is good, you'll get support for the idea. If the
example is bad, people will point out how better to approach this.

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