[Pyrex] Conditional compilation

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 7 12:51:07 CEST 2005


khinsen at cea.fr wrote:
> 
> With a script to check, that's perhaps a safe enough bet.
> Thanks for the suggestion!

Hmmm. I suppose Pyrex could have some sort of "c_only:"
block in which it would be an error to use anything that
made implicit Python API calls.

Although I have some other features in mind for the
particular case of Py_BEGIN/END_ALLOW_THREADS.

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



More information about the Pyrex mailing list