You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The commit message of 882d809, says "Replace the "unsigned char*" type with "char*" which is more common and easy to use". So the fix is to update the docs to use char * as well.
According to the documentation (https://docs.python.org/3/c-api/float.html#c.PyFloat_Pack2), the signature of
PyFloat_Pack{2,4,8}isNote that the second parameter is of type
unsigned char *However, for the implementation, the type is actually
char *cpython/Include/cpython/floatobject.h
Line 21 in db20324
The commit message of 882d809, says "Replace the "unsigned char*" type with "char*" which is more common and easy to use". So the fix is to update the docs to use
char *as well.Linked PRs