[Python-Dev] Baffled by PyArg_ParseTupleAndKeywords modification (original) (raw)

"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 * ptextliteral; and then use ptextliteral, const ptextliteral * 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.

Regards, Martin



More information about the Python-Dev mailing list