]> granicus.if.org Git - python/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:19:53 +0000 (21:19 -0700)
committerGregory P. Smith <greg@krypto.org>
Sun, 22 Jul 2012 04:19:53 +0000 (21:19 -0700)
commit76c28f7ce27ea48254e152032d25ded3117973cb
treeb789dd9bd4df9d70249e067af39094d02d67472d
parent00528e8fec37bdf203bdb172ec3363353268d908
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