Martin v. Löwis wrote:

> There are two improvements you could make:
> - Some of the functions in the first list return Py_ssize_t; calling
>    them can cause truncation if the result value is larger than INT_MAX
>    (and it is assigned to an int). To find those functions, do
>    grep 'PyAPI_FUNC(Py_ssize_t)' Include/*.h

fixed (based on the list MAL just posted).

> - Usage of the "old" function pointer type name (e.g. intobjargproc)
>    likely also indicates an error, since many of these pointers have
>    changed there types. I believe the only exception for this is inquiry,
>    which still has legit uses, in nb_nonzero, tp_clear, and tp_is_gc.

is there a complete list of these somewhere ?

</F>



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to