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.

Author gregory.p.smith
Recipients alex, christian.heimes, dstufft, giampaolo.rodola, gregory.p.smith, janssen
Date 2016-08-16.07:14:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471331677.78.0.743663090516.issue27768@psf.upfronthosting.co.za>
In-reply-to
Content
This is very architecture specific and focused on low level information that you can also already get from places like /proc/cpuinfo on Linux.

Also, regardless of what capability bits a CPU exposes that has nothing to do with what accelerations the underlying library implementation itself actually supports.

For your example purpose of choosing which algorithm to use, testing the actual performance of each option in your code at startup time seems more foolproof in any application running long enough for performance to be an issue.

I expect in most common situations you can just use ctypes to call this function from openssl if you feel you must use it.

I'm not convinced it belongs in the stdlib.
History
Date User Action Args
2016-08-16 07:14:37gregory.p.smithsetrecipients: + gregory.p.smith, janssen, giampaolo.rodola, christian.heimes, alex, dstufft
2016-08-16 07:14:37gregory.p.smithsetmessageid: <1471331677.78.0.743663090516.issue27768@psf.upfronthosting.co.za>
2016-08-16 07:14:37gregory.p.smithlinkissue27768 messages
2016-08-16 07:14:37gregory.p.smithcreate