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

Barry Warsaw barry at python.org
Mon Aug 30 20:35:16 CEST 2010


On Aug 28, 2010, at 12:29 PM, Martin v. Löwis wrote:

>The intention is that there is indeed just one stable ABI, so one
>configuration is the supported one, and that should be the "default"
>build.
>
>As for the specific settings, my analysis would be this:
>- pydebug: not supported by the stable ABI, as it changes the layout
>  of PyObject, which is an exposed structure
>  More specifically: Py_DEBUG, Py_TRACEREFS and Py_REF_DEBUG are
>  all incompatible with the stable ABI
>- pymalloc: I fail to see the impact on the ABI. All allocator
>  macros become function calls under Py_LIMITED_API, otherwise,
>  there shouldn't be any need to have different versions of that.
>- wide-unicode: this is a tricky one. I'm tempted to say that the
>  stable ABI should always use a Py_UNICODE that matches the platform's
>  wchar_t. Alternative proposals are welcome.

Thanks Martin.  I have updated PEP 3149 with these thoughts, but I'll leave it
up to you to update PEP 384.

I haven't heard a peep since my last RFC on PEP 3149.  Guido, would you care
to pronounce on the PEP, or designate someone who can do so (remembering that
Martin is off-line for a while)?  If acceptable, I'd like to get this into the
tree before 3.2 alpha 2, currently scheduled for September 5.

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100830/f81a8221/attachment.pgp>


More information about the Python-Dev mailing list