]> 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:07:53 +0000 (15:07 -0700)
committerGregory P. Smith <greg@krypto.org>
Sat, 14 May 2011 22:07:53 +0000 (15:07 -0700)
commitfb1d60c800bd833e2d32c859df206e267ad62637
tree83cc623fdc6c7ab2b1aee142174958fea58b4392
parent0cc4fd9df7e2a6d6a47c20e66c5b22d590c6be51
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