[Python-Dev] Baffled by PyArg_ParseTupleAndKeywords modification

"Martin v. Löwis" martin at v.loewis.de
Sat Feb 11 09:33:23 CET 2006

Bengt Richter wrote:
> Would it make sense to use a typedef for readability's sake? E.g.,
>     typedef const char * p_text_literal;
> and then use
>     p_text_literal, const p_text_literal *
> in the signature, for read-only access to the data? (hope I got that right).
> (also testing whether I have been redirected to /dev/null ;-)

Nearly. Please try your proposals out in a sandbox before posting.
How does this contribute to solving the PyArg_ParseTupleAndKeywords
issue? Readability is not the problem that puzzled Jack.


More information about the Python-Dev mailing list