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


Groups > comp.lang.python > #47849

Re: Python #ifdef

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.150
X-Spam-Level *
X-Spam-Evidence '*H*': 0.70; '*S*': 0.00; 'subject:Python': 0.06; 'python': 0.11; '#ifdef': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'googling': 0.16; 'guessing': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'first.': 0.19; 'mon,': 0.24; 'posts': 0.26; 'somewhere': 0.26; 'header:In-Reply-To:1': 0.27; 'skip:- 40': 0.29; '[1]': 0.29; 'am,': 0.29; 'url:code': 0.29; 'message-id:@mail.gmail.com': 0.30; 'along': 0.30; "i'm": 0.30; '(which': 0.31; 'went': 0.31; 'getting': 0.31; 'comments': 0.31; 'lines': 0.31; '(maybe': 0.31; 'date:': 0.34; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; "didn't": 0.36; 'behind': 0.37; 'email addr:python.org': 0.37; 'received:209': 0.37; 'generic': 0.38; 'to:addr:python-list': 0.38; 'subject:': 0.39; '(from': 0.39; 'to:addr:python.org': 0.39; 'problems.': 0.60; 'simply': 0.61; 'first': 0.61; 'email addr:gmail.com': 0.63; 're:': 0.63; 'url:p': 0.64; 'email name:python-list': 0.65; 'between': 0.67; 'contemplated': 0.84; '+1000': 0.91; 'carlos': 0.91; 'this;': 0.91; 'subject: #': 0.96; '2013': 0.98
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=Gzy9zqGpeQM5ThYam3nYaNbj5oyOFBT3FMZUWLQ6kvs=; b=Lms5MkJrOPQUmcM7Qr5MmeccdyI5mJ8dDzCQbeEx9ZZ5g7/A6NNetzsQCrxl+VnuYB DsShUHiwaRwbHQ16e8iRiL9IQDc5hEaszRpGgV/qwjzMpKMktaojr2vtNgTltmGvCLsV zvaM88cbjYlA2MPKtsI7i8D4o5qacqLOvlsEVyzOhoCmZj8GYf3HvBV8pqlEjnoqvdSI x1DjJTgYuMn92Tdck3JsdescTDZzew2GbWhNz2P3CifeQaUdum0ETUW5evoX3yeA7DYh zmyuP/yRUqljOFgz0HNUKVXUiGqn8XLlOJo6ttTYm1bv+flgNtw4pNoohd2dtImLTzwV G4vA==
MIME-Version 1.0
X-Received by 10.52.117.16 with SMTP id ka16mr8631507vdb.43.1371069742126; Wed, 12 Jun 2013 13:42:22 -0700 (PDT)
In-Reply-To <BLU176-W28718A642C6483F27A77D3D79D0@phx.gbl>
References <BLU176-W12FAFEA3C7AFD687855E04D7970@phx.gbl> <mailman.2336.1369790616.3114.python-list@python.org> <ko54sm$c5b$2@reader1.panix.com> <mailman.2361.1369839938.3114.python-list@python.org> <n4mdnZkIOrRTRjbMnZ2dnUVZ5gOdnZ2d@giganews.com> <CAPTjJmrsx9jW-QOr9PZJwZBYoog=DCcKpNc4sGwdT-pBoP=Rsw@mail.gmail.com> <BLU176-W28718A642C6483F27A77D3D79D0@phx.gbl>
Date Thu, 13 Jun 2013 06:42:22 +1000
Subject Re: Python #ifdef
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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 <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.3132.1371069744.3114.python-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371069744 news.xs4all.nl 15930 [2001:888:2000:d::a6]:37560
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:47849

Show key headers only | View raw


On Tue, Jun 4, 2013 at 8:18 AM, Carlos Nepomuceno
<carlosnepomuceno@outlook.com> wrote:
> ----------------------------------------
>> Date: Mon, 3 Jun 2013 12:05:49 +1000
>> Subject: Re: Python #ifdef
>> From: rosuav@gmail.com
>> To: python-list@python.org
> [...]
>> Ah. I actually wasn't aware of m4's use with sendmail. I first met it
>> as the aforementioned PHP preprocessor, simply by Googling for
>> something along the lines of "generic preprocessor". First hit solved
>> my problems.
>>
>> ChrisA
>
> Why didn't you use something like EZT[1]?
>
> [1] https://code.google.com/p/ezt/

I'm a bit behind getting to this; I think some python-list posts got
stuck somewhere (maybe in the news->list gateway?). Anyway: The reason
I didn't was simply that m4 came up first. I was familiar with the C
preprocessor and PPWizard (which is designed for HTML), and simply
went looking for a generic one. And yes, I had seriously contemplated
using the C preprocessor (from gcc), but there was a reason not to
(don't remember now, but I'm guessing it'll be the conflict between
hash comments in PHP and hash directives to cpp).

ChrisA

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


Thread

Re: Python #ifdef Dan Stromberg <drsalists@gmail.com> - 2013-05-28 18:23 -0700
  Re: Python #ifdef Grant Edwards <invalid@invalid.invalid> - 2013-05-29 14:55 +0000
    Re: Python #ifdef Chris Angelico <rosuav@gmail.com> - 2013-05-30 01:05 +1000
      Re: Python #ifdef Grant Edwards <invalid@invalid.invalid> - 2013-05-29 15:25 +0000
      Re: Python #ifdef Erik Max Francis <max@alcyone.com> - 2013-06-02 16:57 -0700
        Re: Python #ifdef Roy Smith <roy@panix.com> - 2013-06-02 20:23 -0400
        Re: Python #ifdef Skip Montanaro <skip.montanaro@gmail.com> - 2013-06-02 19:29 -0500
        Re: Python #ifdef Chris Angelico <rosuav@gmail.com> - 2013-06-03 12:05 +1000
        Re: Python #ifdef Chris Angelico <rosuav@gmail.com> - 2013-06-13 06:42 +1000

csiph-web