]> granicus.if.org Git - python/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)
commit79aa5bf5ed78fd298c5744a31a867237d9062090
treeee3d5068603d528008559738f8dbaea6be8b97df
parent3196efe1a5497e7415af05b809c37c3fcd77ef46
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