[Pyrex] Py_BEGIN_ALLOW_THREADS

John J Lee jjl at pobox.com
Tue Jun 29 21:34:08 CEST 2004


On Tue, 29 Jun 2004, Simon Burton wrote:

> On Mon, 28 Jun 2004 13:13:53 -0400
> Itamar Shtull-Trauring <itamar at itamarst.org> wrote:
>
> > How would one use that in pyrex code?
> >
>
> You have to expand the macro.

By hand, you mean?  I guess there's no major reason why one shouldn't run
the C preprocessor over Pyrex code, though?


> Check out sec 8.1 in the Python/C API Reference Manual:
[...]

I think he knew that part ;-)


John




More information about the Pyrex mailing list