[Python-Dev] [Python-checkins] cpython: Issue #19254: Provide an optimized Python implementation of PBKDF2_HMAC (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Sat Oct 19 17:15:05 CEST 2013


On 19 October 2013 22:12, christian.heimes <python-checkins at python.org> wrote:

http://hg.python.org/cpython/rev/e73627483d2f changeset: 86467:e73627483d2f user: Christian Heimes <christian at cheimes.de> date: Sat Oct 19 14:12:02 2013 +0200 summary: Issue #19254: Provide an optimized Python implementation of PBKDF2HMAC

files: Doc/library/hashlib.rst | 6 ++- Lib/hashlib.py | 69 +++++++++++++++++++++++++-- Lib/test/testhashlib.py | 20 ++++++- Misc/NEWS | 2 + 4 files changed, 86 insertions(+), 11 deletions(-) diff --git a/Lib/test/testhashlib.py b/Lib/test/testhashlib.py --- a/Lib/test/testhashlib.py +++ b/Lib/test/testhashlib.py @@ -18,11 +18,13 @@ import unittest import warnings from test import support -from test.support import 4G, bigmemtest +from test.support import 4G, bigmemtest, importfreshmodule # Were we compiled --with-pydebug or with #define PyDEBUG? COMPILEDWITHPYDEBUG = hasattr(sys, 'gettotalrefcount') +chashlib = importfreshmodule('hashlib', fresh=['hashlib'])

Looks like this import is failing on at least some platforms:

http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/6535/steps/test/logs/stdio http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/204/steps/test/logs/stdio

Due to the build failing: http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/6535/steps/compile/logs/stdio http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/204/steps/compile/logs/stdio

Cheers, Nick.

-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia



More information about the Python-Dev mailing list