[Python-3000] need help fixing broken tests in py3k-pep3137 branch

Christian Heimes lists at cheimes.de
Sat Nov 3 18:36:16 CET 2007


Christian Heimes wrote:
> Houston, we have a problem! The py3k PEP 3137 branch is seriously broken
> under Windows.

Fixed!

The PyUnicode_*MBCS* methods returned PyBytes instead of PyString. The
import machinery used PyString_AS_STRING() on it in once place and
triggered a nasty problem.

Christian



More information about the Python-3000 mailing list