[Python-Dev] versioned .so files for Python 3.2 (original) (raw)
Barry Warsaw barry at python.org
Wed Jun 30 20:58:00 CEST 2010
- Previous message: [Python-Dev] versioned .so files for Python 3.2
- Next message: [Python-Dev] versioned .so files for Python 3.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jun 26, 2010, at 10:45 PM, Matthias Klose wrote:
Having non-conflicting extension names is a schema which already is used on some platforms (debug builds on Windows). The question for me is, if just a renaming of the .so files is acceptable for upstream, or if distributors should implement this on their own, as something like:
if extpath.startswith('/usr/') and not extpath.startswith('/usr/local/'): loadext('foo.2.6.so') else: loadext('foo.so') I fear this will cause issues when e.g. virtualenv environments start copying parts from the system installation instead of symlinking it.
I concur. I think my patch will have much less impact on virtualenv and similar tools because there's nothing much magical about it. It just says "oh there's another file suffix you should consider when looking for a shared library", which as you point out is already done on Windows.
-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/20100630/1f2ea9ed/attachment.pgp>
- Previous message: [Python-Dev] versioned .so files for Python 3.2
- Next message: [Python-Dev] versioned .so files for Python 3.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]