[Pyrex] Pyrex at Pycon

Paul Prescod paul at prescod.net
Wed Mar 31 00:09:38 CEST 2004


Greg Ewing wrote:
> 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.

Probably. I should look at SWIG and see what it does. If SwigXML returns 
all of the information we need then we might use that and support simple 
#defines as well.

  Paul Prescod





More information about the Pyrex mailing list