STINNER Victor added the comment:

"Split PyUnicode_FromFormatV() into smaller functions: add 
unicode_fromformat_arg(). It requires to copy vargs using Py_VA_COPY: without 
Py_VA_COPY, the function does crash. I don't understand why."

Ok, here is the answer.
http://stackoverflow.com/questions/8047362/is-gcc-mishandling-a-pointer-to-a-va-list-passed-to-a-function

In short: va_list can be an array (of 1 element) on some platforms (ex: AMD64).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16147>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to