]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Consistently raise a TypeError when a non str is passed to hashlib.new
authorGregory P. Smith <greg@krypto.org>
Sun, 22 Jul 2012 04:22:16 +0000 (21:22 -0700)
committerGregory P. Smith <greg@krypto.org>
Sun, 22 Jul 2012 04:22:16 +0000 (21:22 -0700)
commitb9e9e0d5a8be470ade2bb497019a5cf737138182
treea37756ba5b48029a489e01cae6e44b8edc0287c5
parente4220a5ec69874af624af598532b04db33cc00e7
Consistently raise a TypeError when a non str is passed to hashlib.new
regardless of which of the two implementations of new is used.
Lib/hashlib.py
Lib/test/test_hashlib.py