Fixes Issue #12059: Properly handle missing hash functions even when · python/cpython@fb1d60c · GitHub
Skip to content

Commit fb1d60c

Browse files
committed
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.
1 parent 0cc4fd9 commit fb1d60c

2 files changed

Lines changed: 41 additions & 20 deletions

File tree

Lib/hashlib.py

Lines changed: 23 additions & 20 deletions

Lib/test/test_hashlib.py

Lines changed: 18 additions & 0 deletions

0 commit comments

Comments
 (0)