commit | 573c08c1b73048876b62d99ff8d82337dc8ce0a2 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Fri May 25 15:46:59 2007 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Fri May 25 15:46:59 2007 +0000 |
tree | a66a43f5e3f362acb738877ab1551d69dc5e5450 | |
parent | e65c86cca02a6cc5698ecf846d6340319e5fd803 [diff] |
Change PyErr_Format() to generate a unicode string (by using PyUnicode_FromFormatV() instead of PyString_FromFormatV()). Change calls to PyErr_Format() to benefit from the new format specifiers: Using %S, object instead of %s, PyString_AS_STRING(object) with will work with unicode objects too.