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


Groups > comp.lang.python > #47849

Re: Python #ifdef

References (2 earlier) <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 2013-06-13 06:42 +1000
Subject Re: Python #ifdef
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3132.1371069744.3114.python-list@python.org> (permalink)

Show all headers | 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