[issue24278] Docs on Parsing arguments should say something about mem mgmt for formatters returning C strings
Martin Panter
report at bugs.python.org
Mon May 25 00:40:22 CEST 2015
Martin Panter added the comment:
At the top of the list <https://docs.python.org/3.5/c-api/arg.html#strings-and-buffers>, it says which cases have to be freed or not, and also mentions releasing buffers. Are you proposing to add this information to each entry in the list as well?
Or just mention how the pointer lifetime relates to the Python object lifetime at the top? I think you will find most of the cases are the same, except for the ones that explicitly allocate extra memory.
----------
nosy: +vadmium
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24278>
_______________________________________
More information about the Python-bugs-list
mailing list