]> granicus.if.org Git - python/commit
Change PyErr_Format() to generate a unicode string (by using
authorWalter Dörwald <walter@livinglogic.de>
Fri, 25 May 2007 15:46:59 +0000 (15:46 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Fri, 25 May 2007 15:46:59 +0000 (15:46 +0000)
commit573c08c1b73048876b62d99ff8d82337dc8ce0a2
treea66a43f5e3f362acb738877ab1551d69dc5e5450
parente65c86cca02a6cc5698ecf846d6340319e5fd803
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.
Include/pyerrors.h
Python/ceval.c
Python/codecs.c
Python/compile.c
Python/errors.c