Python #ifdef

Roy Smith roy at panix.com
Sun Jun 2 20:23:14 EDT 2013


In article <n4mdnZkIOrRTRjbMnZ2dnUVZ5gOdnZ2d at giganews.com>,
 Erik Max Francis <max at alcyone.com> wrote:

> On 05/29/2013 08:05 AM, Chris Angelico wrote:
> > It's not a bad tool. I used it as a sort of PHP preprocessor, because
> > requirements at work had me wanting to have a source file defining a
> > PHP class and having an autogenerated section in the middle of that
> > class. PHP's 'include' directive doesn't work for that. Of course, had
> > we been using a better language, that wouldn't have been an issue (and
> > it stopped being an issue when we improved the design and stopped
> > using that class system, too, though I retained the makefile
> > directives about building .php.m4 -> .php files). But still, GNU M4 is
> > a decent piece of technology.
> 
> Agreed.  The terror that most people feel when hearing "m4" is because 
> m4 was associated with sendmail

Arrrrggghhh.  You had to go and dredge up those bad memories?  I hadn't 
thought about sendmail config files in years.  I'll probably never be 
able to get to sleep tonight.



More information about the Python-list mailing list