➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 steve.dower
收信人 Arfrever, barry, brett.cannon, eric.snow, lemburg, ncoghlan, ned.deily, pitrou, steve.dower, tim.golden, vstinner, zach.ware
日期 2014-12-08.05:09:25
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1418015367.95.0.333560964558.issue22980@psf.upfronthosting.co.za>
In-reply-to
内容
Added "cp35" (and later "cp36", etc.) to the tag, so now it looks similar to PEP 425 without the ABI tag (ironically, since there's fundamentally no difference between the Python version and the ABI). "cp3" is also accepted for stable ABI extensions that still need a platform specifier.

distutils will always build extensions with the most specific tag, which I believe is best. If you want a different tag, then you currently need to do the build manually (unless there's a way to override the suffix distutils/setuptools uses? It didn't look like an obvious option)

I also added the tag into the stdlib pyds. This is kind of nice, but not really necessary. We don't (and probably can't) tag python.exe and python35.dll, so there's no opportunity to install different version/platform interpreters in the same directory anyway. It's a trivial change to remove, though it does further help test the mechanism (along with an importlib test to validate the tag value).

Example names with tags:

spam.cp35-win_amd64.pyd
spam_d.cp35-win32.pyd
spam.cp3-win32.pyd
历史
日期 用户 动作 参数
2014-12-08 05:09:28steve.dower修改recipients: + steve.dower, lemburg, barry, brett.cannon, ncoghlan, pitrou, vstinner, tim.golden, ned.deily, Arfrever, eric.snow, zach.ware
2014-12-08 05:09:27steve.dower修改messageid: <1418015367.95.0.333560964558.issue22980@psf.upfronthosting.co.za>
2014-12-08 05:09:27steve.dower链接issue22980 messages
2014-12-08 05:09:27steve.dower创建