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


Groups > comp.lang.python > #18981

Re: PyWarts: time, datetime, and calendar modules

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder1.enfer-du-nord.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'sorts': 0.04; 'python': 0.08; 'deliberately': 0.09; 'subject:modules': 0.09; 'am,': 0.12; 'received:209.85.210.174': 0.13; 'received:mail- iy0-f174.google.com': 0.13; 'does,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'irks': 0.16; '\xa0def': 0.16; 'wrote:': 0.16; 'jan': 0.19; 'header:In-Reply-To:1': 0.22; 'variable': 0.27; 'message-id:@mail.gmail.com': 0.28; 'subject:time': 0.30; 'objects.': 0.30; 'sun,': 0.30; 'does': 0.32; 'to:addr:python-list': 0.33; 'things': 0.35; 'received:google.com': 0.37; 'received:209.85': 0.38; 'johnson': 0.39; 'sense': 0.39; 'received:209': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.40; 'skip:$ 10': 0.63; 'adorn': 0.84; 'distinguish': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=+XfVAYNxfsGhM+dT6TbpgBLtzba5Ntq/Vdp4Q3aSo4E=; b=HNn6+rOn+vV1bvammBjf/eiG+oA/ipsXdQiRSmifc5LpLhWJTo1+xz1yiW73WlLwb0 Oo6IkGQ8vVidfCcLh6isVg0Yo806r0FOA/MGv9vnT1/FqG25oup2dJDQoaITDysl0dt6 pJJ6ABhKtP7Pjj0Yq5GhZlsdFmHZSXVWNTYMI=
MIME-Version 1.0
In-Reply-To <15cdd8f1-35ef-43ea-a1c9-db90bc16f4ad@r16g2000yqi.googlegroups.com>
References <a0ba2204-9d09-46ba-a7e5-0c750b2cbddf@f11g2000yql.googlegroups.com> <mailman.4748.1326567721.27778.python-list@python.org> <15cdd8f1-35ef-43ea-a1c9-db90bc16f4ad@r16g2000yqi.googlegroups.com>
Date Sun, 15 Jan 2012 08:56:03 +1100
Subject Re: PyWarts: time, datetime, and calendar modules
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4752.1326578166.27778.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1326578166 news.xs4all.nl 6940 [2001:888:2000:d::a6]:43754
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18981

Show key headers only | View raw


On Sun, Jan 15, 2012 at 6:23 AM, Rick Johnson
<rantingrickjohnson@gmail.com> wrote:
> Observe:
>  def $method(self):pass
>  self.@instanceveriable
>  self.@@classvariable

Are you deliberately inverting what PHP does, with $variablename?
(Incidentally, that's one of the things that irks me about PHP -
adorned variable names.)

In any case: Python does not distinguish between functions and other
sorts of objects. It makes no sense to adorn things in this way.

ChrisA

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


Thread

PyWarts: time, datetime, and calendar modules Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-14 10:54 -0800
  Re: PyWarts: time, datetime, and calendar modules Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-01-14 14:01 -0500
    Re: PyWarts: time, datetime, and calendar modules Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-14 11:23 -0800
      Re: PyWarts: time, datetime, and calendar modules Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-01-14 15:11 -0500
      Re: PyWarts: time, datetime, and calendar modules Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-14 13:31 -0800
      Re: PyWarts: time, datetime, and calendar modules Chris Angelico <rosuav@gmail.com> - 2012-01-15 08:56 +1100
      Re: PyWarts: time, datetime, and calendar modules Evan Driscoll <edriscoll@wisc.edu> - 2012-01-14 14:58 -0600
        Re: PyWarts: time, datetime, and calendar modules Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-14 15:19 -0800
          Re: PyWarts: time, datetime, and calendar modules Chris Angelico <rosuav@gmail.com> - 2012-01-15 11:42 +1100
        Re: PyWarts: time, datetime, and calendar modules Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-15 04:26 +0000
      Re: PyWarts: time, datetime, and calendar modules Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-15 04:23 +0000
        Re: PyWarts: time, datetime, and calendar modules Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-14 21:27 -0800
          Re: PyWarts: time, datetime, and calendar modules Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-15 07:00 +0000
          Re: PyWarts: time, datetime, and calendar modules Michael Torrie <torriem@gmail.com> - 2012-01-15 19:50 -0700
      Re: PyWarts: time, datetime, and calendar modules Lie Ryan <lie.1296@gmail.com> - 2012-01-16 02:13 +1100
  Re: PyWarts: time, datetime, and calendar modules Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-15 03:53 +0000

csiph-web