commit | 6ced7c433353208e5b9d4dc25018937f1c9ae87d | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon Mar 21 18:15:42 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon Mar 21 18:15:42 2011 +0100 |
tree | 61efdd2c527ab2eeeff1dd306218b91efbe1b91d | |
parent | 44afe2b35a3f82f26d35a2cec507ec6d59e6d6d3 [diff] |
Issue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead of PyOS_snprintf() to avoid temporary buffer allocated on the stack and a conversion from bytes to Unicode.