[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

Marc-Andre Lemburg report at bugs.python.org
Sat Jan 17 16:12:54 CET 2009


Marc-Andre Lemburg <mal at egenix.com> added the comment:

On 2009-01-17 14:00, STINNER Victor wrote:
>> A test would be good, too.
> 
> PyUnicode_FromWideChar() is not a public API. Should I write a function in 
> _testcapi?

It is a public C API. Regardless of this aspect, we should always
add tests for bugs in order to make sure they don't pop up again.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4474>
_______________________________________


More information about the Python-bugs-list mailing list