[Python-checkins] cpython: Issue #19254: Provide an optimized Python implementation of PBKDF2_HMAC

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 PBKDF2_HMAC
>
> files:
>   Doc/library/hashlib.rst  |   6 ++-
>   Lib/hashlib.py           |  69 +++++++++++++++++++++++++--
>   Lib/test/test_hashlib.py |  20 ++++++-
>   Misc/NEWS                |   2 +
>   4 files changed, 86 insertions(+), 11 deletions(-)
> diff --git a/Lib/test/test_hashlib.py b/Lib/test/test_hashlib.py
> --- a/Lib/test/test_hashlib.py
> +++ b/Lib/test/test_hashlib.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, import_fresh_module
>
>  # Were we compiled --with-pydebug or with #define Py_DEBUG?
>  COMPILED_WITH_PYDEBUG = hasattr(sys, 'gettotalrefcount')
>
> +c_hashlib = import_fresh_module('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-checkins mailing list