[docs] Missing information in the C api docs

Sandro Tosi sandro.tosi at gmail.com
Mon Oct 31 11:43:21 CET 2011


Hello Alexander,

On Wed, Sep 21, 2011 at 15:56, Alexander Kauer
<alexanderkauer at googlemail.com> wrote:
> Hello everybody,
>
> recently I embedded Python into one of my applications, which included
> some string parsing.
> In my opinion the doc page about parsing arguments
> (http://docs.python.org/c-api/arg.html) is missing the information, that
> you must not free the returned const char *, like e.g. said here
> (http://docs.python.org/c-api/string.html#PyString_AsString).
> It was quite confusing for my first, so I would suggest adding this tiny
> bit of information.

I don't have any knowledge of C API, so I've just filed
http://bugs.python.org/issue13302 to track your request.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


More information about the docs mailing list