[issue4060] PyUnicode_DecodeUTF16(..., byteorder=0) gets it wrong on Mac OS X/PowerPC
Ronald Oussoren
report at bugs.python.org
Tue Oct 7 14:33:00 CEST 2008
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
Annoyingly enough my patch isn't good enough, it turns out that ctypes
has introduced a SIZEOF__BOOL definition in configure.in and that needs
special caseing as well.
pymacconfig.h.patch2 fixes that issue as well. Do you have access to a
PPC G5 system? I've determined the correct value of SIZEOF__BOOL for
that platform by reading the assembly code for a small test program and
hence am not 100% sure that sizeof(_Bool) actually is 1 on that
architecture.
One other annoying issue cropped up: regrtest.py consistently hangs in
test_signal (with 100% CPU usage) when I run it in rossetta (PPC
emulator). I'll test this on an actual PPC machine as well, this might
well be an issue with the PPC emulator.
Added file: http://bugs.python.org/file11727/pymacconfig.h.patch2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4060>
_______________________________________
More information about the Python-bugs-list
mailing list