On 8/29/07, Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote: > I see additional errors like "can't use str as char buffer". I suppose > it is because of the recent stricter distinction between bytes and > str.
Indeed. It typically means that something is using PyObject_AsCharBuffer() instead of PyUnicode_AsStringAndSize(). Please fix occurrences you find and upload patches. It seems that any use of the 't#' format for PyArg_ParseTuple() also triggers this error. I don't understand the code for that format; I've been successful in the short term by changing these to 's#' but I don't think that's the correct solution... -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com