Update implications for PEP 384 based on Martin's email.
This commit is contained in:
parent
7c4473de5c
commit
209b145e5a
25
pep-3149.txt
25
pep-3149.txt
|
@ -210,11 +210,22 @@ by adding a keyword argument to the ``Extension`` class, such as::
|
||||||
|
|
||||||
Extension('foo', ['foo.c'], abi=3)
|
Extension('foo', ['foo.c'], abi=3)
|
||||||
|
|
||||||
|
Martin v. Löwis describes his thoughts [7]_ about the applicability of this
|
||||||
|
PEP to PEP 384. In summary:
|
||||||
|
|
||||||
|
* ``--with-pydebug`` would not be supported by the stable ABI because
|
||||||
|
this changes the layout of ``PyObject``, which is an exposed
|
||||||
|
structure.
|
||||||
|
* ``--with-pymalloc`` has no bearing on the issue.
|
||||||
|
* ``--with-wide-unicode`` is trickier, though Martin's inclination is
|
||||||
|
to force the stable ABI to use a ``Py_UNICODE`` that matches the
|
||||||
|
platform's ``wchar_t``.
|
||||||
|
|
||||||
|
|
||||||
Alternatives
|
Alternatives
|
||||||
============
|
============
|
||||||
|
|
||||||
In the initial python-dev thread [7]_ where this idea was first
|
In the initial python-dev thread [8]_ where this idea was first
|
||||||
introduced, several alternatives were suggested. For completeness
|
introduced, several alternatives were suggested. For completeness
|
||||||
they are listed here, along with the reasons for not adopting them.
|
they are listed here, along with the reasons for not adopting them.
|
||||||
|
|
||||||
|
@ -258,9 +269,9 @@ distribution CD-ROMs.
|
||||||
Reference implementation
|
Reference implementation
|
||||||
========================
|
========================
|
||||||
|
|
||||||
Work on this code is tracked in a Bazaar branch on Launchpad [8]_
|
Work on this code is tracked in a Bazaar branch on Launchpad [9]_
|
||||||
until it's ready for merge into Python 3.2. The work-in-progress diff
|
until it's ready for merge into Python 3.2. The work-in-progress diff
|
||||||
can also be viewed [9]_ and is updated automatically as new changes
|
can also be viewed [10]_ and is updated automatically as new changes
|
||||||
are uploaded.
|
are uploaded.
|
||||||
|
|
||||||
|
|
||||||
|
@ -279,11 +290,13 @@ References
|
||||||
|
|
||||||
.. [6] http://docs.python.org/py3k/distutils/index.html
|
.. [6] http://docs.python.org/py3k/distutils/index.html
|
||||||
|
|
||||||
.. [7] http://mail.python.org/pipermail/python-dev/2010-June/100998.html
|
.. [7] http://mail.python.org/pipermail/python-dev/2010-August/103330.html
|
||||||
|
|
||||||
.. [8] https://code.edge.launchpad.net/~barry/python/sovers
|
.. [8] http://mail.python.org/pipermail/python-dev/2010-June/100998.html
|
||||||
|
|
||||||
.. [9] https://code.edge.launchpad.net/~barry/python/sovers/+merge/29411
|
.. [9] https://code.edge.launchpad.net/~barry/python/sovers
|
||||||
|
|
||||||
|
.. [10] https://code.edge.launchpad.net/~barry/python/sovers/+merge/29411
|
||||||
|
|
||||||
|
|
||||||
Copyright
|
Copyright
|
||||||
|
|
Loading…
Reference in New Issue