[Pyrex] Pyrex at Pycon

Greg Ewing greg at cosc.canterbury.ac.nz
Tue Mar 30 08:11:20 CEST 2004


Paul Prescod <paul at prescod.net>:

> When I had some extra time on a plane I started to write up a 
> PEP-like-thing. My proposal is that macros are expanded by the 
> preprocessor and Pyrex works on the expanded output.

What about #defines used as constants? Probably
you'll want them turned into enums and/or module
attributes.

What about #include directives? Most of the time
you probably don't want to expand them, otherwise
you'd end up wrapping all the system header files.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list