John Skaller2 schrieb am 30.01.20 um 03:47:
> Ok, I have processed most of the Cython/Include/python/*.pxd files.
> 
> Seems these were mechanically derived from docs?

They were manually copied over time.


> Because some of the bugs in the docs are also in these files. Not sure what 
> you
> would like to do so I’ll ask here before doing github issues.
> 
> 1. Its not all there. I couldn’t find the API for generators for example.
> If the API is extracted from the docs the script could be run again.
> 
> 2. pyport is plain wrong. It contains conflicting C typedefs.

PRs welcome.


> 3. Some of the files describe extension modules (datetime, array)
> rather than the core API.

That's fine.


> 4. ../cython/Cython/Includes/cpython/weakref.pxd:    bint 
> PyWeakref_CheckProxy(ob)
> 
>       ob should be PyObject*

No, the declaration looks correct to me. The input is an object. It does
not seem helpful to me to require users to do a cast.


> there’s a couple more (maybe in ref as well).

PRs welcome.

Stefan
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to