Movatterモバイル変換


[0]ホーム

URL:


homepage

Message241291

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorlemburg
RecipientsArfrever, barry, doko, dstufft, eric.snow, lemburg, ncoghlan, ned.deily, pitrou, python-dev, steve.dower, tim.golden, zach.ware
Date2015-04-16.23:35:33
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<5530473E.7080307@egenix.com>
In-reply-to<1429224716.48.0.929747293252.issue22980@psf.upfronthosting.co.za>
Content
On 17.04.2015 00:51, Donald Stufft wrote:> >> Since you need special support for such ZIP files (either using dlopen>> hacks or temporarily extracting them), you might as well deal with>> the platform dependencies in that handler. No need to force the>> platform tags on all your .so file for no apparent reason.> > There are other reasons as have already been mentioned, this is just yet> another reason (and on it's own I'd agree it's not a sufficiently compelling> use case), but when I see a pattern of things which all need the same thing> then that speaks to me that it should live someplace centrally instead of> having each one reimplement it. Sure, but whatever the central implementation is going to be,it doesn't necessarily have to require sticking platform ABI flagson all .so files, even those which will never need to be installedside-by-side. The more paths you need to stat when searchinga shared mod, the slower Python will get.There's a very simple trick which some packages used in thepast for sumo distributions - you simply modify the __path__attribute of the package to point to the platform dependentfiles in the __init__.py file and Python will then automagicallyuse the right C extensions.To simplify this, the platform triplets and other platform ABI flagscould be made available via the sys or sysconfig module for importersand other tools to pick up.
History
DateUserActionArgs
2015-04-16 23:35:34lemburgsetrecipients: +lemburg,barry,doko,ncoghlan,pitrou,tim.golden,ned.deily,Arfrever,python-dev,eric.snow,zach.ware,steve.dower,dstufft
2015-04-16 23:35:34lemburglinkissue22980 messages
2015-04-16 23:35:33lemburgcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp