[Python-Dev] A Hygienic Macro System in Python?

Michael Hudson mwh@python.net
19 Mar 2002 09:07:22 +0000


David Ascher <DavidA@ActiveState.com> writes:

> My vote on the notion is that I want to know what good macros people
> would write, and then implement them in a non-macro fashion.

My favourite example of this is distutils.core.setup() 

1) looks declarative
2) isn't

Very Pythonic, IMHO.

Cheers,
M.

-- 
  Ya, ya, ya, except ... if I were built out of KSR chips, I'd
  be running at 25 or 50 MHz, and would be wrong about ALMOST
  EVERYTHING almost ALL THE TIME just due to being a computer!
                                              -- Tim Peters, 30 Apr 97