Issue 9193: PEP 3149 (versioned .so files) reference implementation (original) (raw)

Created on 2010-07-07 18:33 by barry, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pep3149.txt barry,2010-08-17 21:05
Messages (7)
msg109489 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2010-07-07 18:33
As described in the thread started here: http://mail.python.org/pipermail/python-dev/2010-June/100998.html this bug requests that a new configure option called --with-so-abi-tag be added to Python 3.2 to support sharing of .so files for different versions of Python.
msg109490 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2010-07-07 18:36
Attaching patch from live branch living here: https://code.edge.launchpad.net/~barry/python/sovers
msg109937 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-07-10 21:16
In build_ext, your modifications to get_ext_filename do not update the docstring, although it contains a comment documenting the handling of ext.so_abi_tag. They also use str.rpartition, not available in 2.3, with which distutils has to remain compatible as per PEP 291.
msg110144 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2010-07-12 21:30
Actually, the changes to distutils are not strictly necessary for PEP 3149 implementation (what the PEP-in-progress will be numbered). Once PEP 384 is implemented, it might be useful, but OTOH there might be a better way to support that. In any case, here's a new patch that just provides the configure switch.
msg111178 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2010-07-22 14:39
Updated patch.
msg111223 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2010-07-22 22:40
Should the change also apply to Windows? on Windows, there is no "configure" phase, but the file PC/pyconfig.h is maintained manually.
msg111253 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2010-07-23 08:27
I'd love it if Windows was also supported, but right now I don't have the cycles to make and test the changes, or the expertise to understand any related Windows issues. I've mentioned this in PEP 3149, and I'd happily accept code and PEP updates for Windows.
History
Date User Action Args
2022-04-11 14:57:03 admin set github: 53439
2010-09-03 18:33:32 barry set status: open -> closedresolution: acceptedstage: patch review -> resolved
2010-08-17 21:05:54 barry set files: + pep3149.txttitle: Versioned .so files -> PEP 3149 (versioned .so files) reference implementation
2010-08-17 21:04:31 barry set files: - diff.txt
2010-08-17 21:04:29 barry set files: - 2010-07-12.txt
2010-08-17 21:04:25 barry set files: - preview.diff
2010-07-23 08:27:36 barry set messages: +
2010-07-22 22:40:10 amaury.forgeotdarc set nosy: + amaury.forgeotdarcmessages: +
2010-07-22 14:39:35 barry set files: + diff.txtmessages: +
2010-07-12 21:30:10 barry set files: + 2010-07-12.txtmessages: +
2010-07-10 21:16:46 eric.araujo set nosy: + eric.araujomessages: +
2010-07-07 20:01:33 Arfrever set nosy: + Arfrever
2010-07-07 18:37:15 dmalcolm set nosy: + dmalcolm
2010-07-07 18:36:34 barry set files: + preview.diffmessages: +
2010-07-07 18:33:45 barry set stage: patch review
2010-07-07 18:33:26 barry create