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


Groups > comp.lang.python > #8444

Re: python 3 constant

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!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.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.01; 'sure.': 0.05; ':-)': 0.06; 'does.': 0.07; 'something,': 0.07; 'rotten': 0.09; 'subject:python': 0.14; 'constants': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'fruit.': 0.16; 'preprocessor': 0.16; 'yup,': 0.16; '>>>': 0.16; 'example.': 0.19; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; 'language': 0.21; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'interpreted': 0.23; 'code': 0.24; 'fri,': 0.28; 'message-id:@mail.gmail.com': 0.28; 'process,': 0.28; "didn't": 0.29; 'version': 0.30; 'chris': 0.32; 'it.': 0.33; 'usually': 0.33; 'done': 0.33; 'someone': 0.34; 'to:addr:python- list': 0.34; 'another.': 0.35; 'compilation': 0.35; 'sometimes,': 0.35; 'probably': 0.35; 'idea': 0.36; 'useful': 0.37; 'anything': 0.37; 'languages': 0.37; 'received:google.com': 0.37; 'but': 0.37; 'received:209.85': 0.38; 'showing': 0.38; 'subject:: ': 0.38; 'run': 0.39; 'got': 0.39; 'to:addr:python.org': 0.39; "there's": 0.39; 'received:209': 0.39; 'per': 0.60; 'your': 0.61; 'skip:o 30': 0.63; 'prove': 0.64; 'charset:iso-8859-2': 0.66; 'jun': 0.67; 'dnia': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=h01igyF2R6jHJULPETsBtR7coRUVdMmToNXzNLCosFs=; b=l2H35neRYfUNAanE4d/eaaeTIIjBXn+Am6O0oqbmAteAWrnpq4yJ6ViDJJJsIZ4yUc qIYb8P/U0MrUjpqcUIxkN5gnd5WuzF+/UM6TCB619yl4kZjiUaeF18My11SUgzWjt90S bZ+Ync8CEAVkcXMiIDlwiMkCq0WqVVmBifrfg=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=N0hgLoAq+13+WLVnmeNWhfv08bBmtPofl+ccRRbIaEmi4btaJP6p7dDxQy9R5GK6a0 wNYBfNY4SZOPW47n9lmY9ny71LXtLHD0UPlMClzn6Jmvs7LkWpw/Vut05cTlbzzr3+mg JRAcrUNNYDDsPbipPKTnEsKs37amHrY47irNk=
MIME-Version 1.0
In-Reply-To <1p7xpf3clbhgc.dlg@localhost.localdomain>
References <927fca1e-ca72-4d33-965c-70b812b83d50@glegroupsg2000goo.googlegroups.com> <mailman.301.1308777491.1164.python-list@python.org> <192j4fjo2gskg$.dlg@localhost.localdomain> <87y60tnhaa.fsf@benfinney.id.au> <eszp4cvoh5fb.dlg@localhost.localdomain> <mailman.325.1308842981.1164.python-list@python.org> <ys2p9g87fwoo.dlg@localhost.localdomain> <mailman.343.1308866411.1164.python-list@python.org> <1p7xpf3clbhgc.dlg@localhost.localdomain>
Date Sat, 25 Jun 2011 20:59:17 +1000
Subject Re: python 3 constant
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-2
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.405.1308999565.1164.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 82.94.164.166
X-Trace 1308999565 news.xs4all.nl 4369 [::ffff:82.94.164.166]:50475
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8444

Show key headers only | View raw


2011/6/25 Waldek M. <wm@localhost.localdomain>:
> Dnia Fri, 24 Jun 2011 08:00:06 +1000, Chris Angelico napisaƂ(a):
>>> Yup, got the sarcasm, that's for sure.
>>> But your point was...?
>>
>> That if you want something, there's usually a way to get it.
>> Sometimes, giving someone what they want - or showing them how to get
>> it - makes it obvious to them whether or not they really want it.
>>
>> Chris Angelico
>
> Usually, it does. But presenting me with a fake and
> obviously-not-logical-and-useful version of constants didn't really
> say anything about why is having constants such a bad idea :-)
> Just like presenting me with a rotten apple doesn't prove
> anything general about that fruit.

In all seriousness, sometimes adding features to one language is best
done by dropping to another. This is probably not as useful in
interpreted languages like Python, but I have on multiple occasions
run code through the C preprocessor as part of my compilation process,
as per my example.

ChrisA

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


Thread

python 3 constant sidRo <slacky2005@gmail.com> - 2011-06-22 11:54 -0700
  Re: python 3 constant Noah Hall <enalicho@gmail.com> - 2011-06-22 22:17 +0100
    Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-23 08:40 +0200
      Re: python 3 constant Ben Finney <ben+python@benfinney.id.au> - 2011-06-23 17:22 +1000
        Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-23 13:58 +0200
          Re: python 3 constant Ben Finney <ben+python@benfinney.id.au> - 2011-06-23 23:04 +1000
            Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-25 12:42 +0200
          Re: python 3 constant Chris Angelico <rosuav@gmail.com> - 2011-06-24 01:29 +1000
            Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-23 21:56 +0200
              Re: python 3 constant Chris Angelico <rosuav@gmail.com> - 2011-06-24 08:00 +1000
                Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-25 12:50 +0200
                Re: python 3 constant Chris Angelico <rosuav@gmail.com> - 2011-06-25 20:59 +1000
                Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-25 13:24 +0200
              Re: python 3 constant alex23 <wuwei23@gmail.com> - 2011-06-23 20:04 -0700
                Re: python 3 constant "Waldek M." <wm@localhost.localdomain> - 2011-06-25 12:44 +0200

csiph-web