Terry J. Reedy added the comment:
I think questions like this are better answered on python-list or even pydev.
In the absence of an observed problem, I would presume it is ok.
This question should be answered in the C-API doc. If it is not, you could
reopen this as a doc issue.
--
n
New submission from Hirokazu Yamamoto :
Hello. I found several codes using PyMem_Free to free
allocated memory via PyUnicode_AsWideCharString.
In PyUnicode_AsWideCharString, memory is allocated
with PyMem_MALLOC. Is it OK to use PyMem_Free
not PyMem_FREE? Thank you.
--
keywords: easy
mes