[Python-Dev] The C API and wide unicode support

Guido van Rossum guido@python.org
Wed, 10 Jul 2002 11:02:53 -0400


> Any C function that uses Unicode objects in any way needs name
> mangling, because the storage layout of the Unicode objects
> changes.

Really?  If I am only using the published APIs and not peeking
directly inside the Unicode object, why should I care about its
internal lay-out?

Shouldn't only functions whose signature uses PY_UNICODE_TYPE be
name-mangled?  What am I missing?

--Guido van Rossum (home page: http://www.python.org/~guido/)