On 2/10/06, Tim Peters <[EMAIL PROTECTED]> wrote: > [Jeremy] > I added some const to several API functions that take char* but > typically called by passing string literals. > > If he had _stuck_ to that, we wouldn't be having this discussion :-) > (that is, nobody passes string literals to > PyArg_ParseTupleAndKeywords's kws argument).
They are passing arrays of string literals. In my mind, that was a nearly equivalent use case. I believe the C++ compiler complains about passing an array of string literals to char**. Jeremy _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com