[Python-Dev] internal weakref API should be Py_ssize_t?
Neal Norwitz
nnorwitz at gmail.com
Wed Aug 2 06:36:25 CEST 2006
I'm wondering if the following change should be made to Include/weakrefobject.h:
-PyAPI_FUNC(long) _PyWeakref_GetWeakrefCount(PyWeakReference *head);
+PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head);
And the 2 other files which use this (weakref obj and module). Should
this be changed now, wait for 2.6, or not worry about it?
n
More information about the Python-Dev
mailing list