Danek Duvall wrote:
On Fri, May 01, 2009 at 02:52:07PM +0100, Darren J Moffat wrote:

Use of SHA-256 is going to require moving to Python 2.6 (bug 5573).
I don't understand why.  Especially since in the same file there is
already use of OpenSSL functions and OpenSSL provides SHA-256.

I think it's preferable to use the new hashlib module (introduced in 2.5, I
think), rather than depend on openssl for this.  So "require" is a bit
strong, but since we're going to be making the move anyway, it seems
worthwhile to order the changes this way.

Given you already depend on OpenSSL anyway why is it preferable to use the (very likely slower) Python hashlib version than a highly optimised (using appropriate cpu asm code) OpenSSL version ?

--
Darren J Moffat
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to