[Python-3000] Pleaswe help with the countdown to zero failing tests in the struni branch!

Thomas Heller theller at ctypes.org
Tue Aug 7 14:06:27 CEST 2007


Guido van Rossum schrieb:
> We're down to 11 failing test in the struni branch. I'd like to get
> this down to zero ASAP so that we can retire the old p3yk (yes, with
> typo!) branch and rename py3k-struni to py3k.
> 
> Please help! Here's the list of failing tests:
> 
> test_ctypes
> Recently one test started failing again, after Martin changed
> PyUnicode_FromStringAndSize() to use UTF8 instead of Latin1.

I wanted to look into this and noticed that 'import time' on Windows
doesn't work anymore on my machine.  The reason is that PyUnicode_FromStringAndSize()
is called for the string 'Westeuropäische Normalzeit', and then fails with

UnicodeDecodeError: 'utf8' codec can't decode bytes in position 9-11: invalid data

Thomas



More information about the Python-3000 mailing list