[issue13302] Clarification needed in C API arg parsing
New submission from Sandro Tosi
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. <<<
----------
assignee: docs@python
components: Documentation
messages: 146687
nosy: docs@python, sandro.tosi
priority: normal
severity: normal
stage: needs patch
status: open
title: Clarification needed in C API arg parsing
versions: Python 2.7, Python 3.2, Python 3.3
_______________________________________
Python tracker
Antoine Pitrou
Roundup Robot
Sandro Tosi
participants (3)
-
Antoine Pitrou
-
Roundup Robot
-
Sandro Tosi