]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fixes Issue #12059: Properly handle missing hash functions even when
authorGregory P. Smith <greg@krypto.org>
Sat, 14 May 2011 22:15:49 +0000 (15:15 -0700)
committerGregory P. Smith <greg@krypto.org>
Sat, 14 May 2011 22:15:49 +0000 (15:15 -0700)
commit12c9d028ed0a1803019f3796014e75c74d9de2f6
treeaf6ae4f6fe85005be8c7ad2e916a9f11528cdded
parente670c889ccf5ce7b27dedbc7d6d24e0679ca93bb
Fixes Issue #12059: Properly handle missing hash functions even when
the expected builtin modules are not present.

This includes a unittest for __get_builtin_constructor() in the face
of such an error.
Lib/hashlib.py
Lib/test/test_hashlib.py