[Python-Dev] versioned .so files for Python 3.2

"Martin v. Löwis" martin at v.loewis.de
Sun Sep 12 15:51:43 CEST 2010


Am 07.09.2010 19:46, schrieb M.-A. Lemburg:
> "Martin v. Löwis" wrote:
>>> -1 on always using wchar_t as well. Python's default is UCS2 and the
>>> stable ABI should not change that.
>>
>> It's not really Python's default. It is what configure.in does by
>> default. Python's default, on Linux, is UCS-4.
> 
> No, the default is UCS2 on all platforms and in configure.in.
> 
> configure.in only uses UCS4 if it finds a TCL installation that
> happens to use UCS4 - for some reason I don't know :-)
> 
> However, most Linux distros and more recently also some BSDs
> have switched over to using UCS4 for their distribution versions
> of Python.

Hmm. So UCS4 *is* the default for Linux. The default on the system
is not what Python's configure makes it, but what the system vendors
make it - they are the ones making the system, after all.

Regards,
Martin


More information about the Python-Dev mailing list