[issue19529] Fix unicode_aswidechar() with 4byte unicode and 2byte wchar_t, for AIX

Michael Haubenwallner report at bugs.python.org
Fri Nov 8 16:34:39 CET 2013


New submission from Michael Haubenwallner:

The problem raises during build already when trying to run setup.py, where ./python is unavailable to locate the 'encodings' module and aborts.

It turns out that (some of) the filenames searched for are broken due to wrong conversion from unicode (across wchar_t) to char.

Attached patch is for 3.2 only, should be obvious enough.

Thanks!

----------
components: Interpreter Core
files: python-3.2-aix-unicode_aswidechar.patch
keywords: patch
messages: 202429
nosy: haubi
priority: normal
severity: normal
status: open
title: Fix unicode_aswidechar() with 4byte unicode and 2byte wchar_t, for AIX
type: crash
versions: Python 3.2
Added file: http://bugs.python.org/file32544/python-3.2-aix-unicode_aswidechar.patch

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


More information about the Python-bugs-list mailing list