[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds
Antoine Pitrou
report at bugs.python.org
Fri Sep 3 17:38:46 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
+#undef HAVE_USABLE_CHAR_T
Isn't it HAVE_USABLE_WCHAR_T?
+struct PY_UNICODE_STRUCT;
+typedef struct PY_UNICODE_STRUCT Py_UNICODE_STRUCT;
+#define Py_UNICODE Py_UNICODE_STRUCT
Why not simply `typedef struct PY_UNICODE_STRUCT Py_UNICODE`?
The _testunicodeagnostic module could have a simple test method making a couple of calls to PyUnicode_* functions.
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8654>
_______________________________________
More information about the Python-bugs-list
mailing list