[Pyrex] [Cython-dev] cimport: include path and standard headers

Robert Bradshaw robertwb at math.washington.edu
Mon Dec 31 18:19:43 CET 2007


On Oct 10, 2007, at 10:54 AM, Eric Huss wrote:

>> I wrote these, and I think they cover the entire Python C/API.  It
>> would make a lot of sense to distribute them.  They are in this
>> directory, if you want to look at them:
>>
>> http://www.sagemath.org/hg/sage-main/file/b663cbb712d1/sage/ext/
>>
>> William
>
> I like how thorough you were with adding docs and everything!  I  
> have a
> similar file with almost all of the API.

The documentation is straight from the Python C/API man pages.

> I noticed that a lot of your
> definitions are missing the except definitions (except -1 type  
> stuff) so
> that Pyrex can generate the correct error handling code.  I can  
> post my
> copy if you'd like to compare.

Yes, please do. That was an oversight on our part.

>
> -Eric
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/cython-dev




More information about the Pyrex mailing list