]> granicus.if.org Git - python/commitdiff
Consistently raise a TypeError when a non str is passed to hashlib.new
authorGregory P. Smith <greg@krypto.org>
Sun, 22 Jul 2012 04:20:44 +0000 (21:20 -0700)
committerGregory P. Smith <greg@krypto.org>
Sun, 22 Jul 2012 04:20:44 +0000 (21:20 -0700)
regardless of which of the two implementations of new is used.

1  2 
Lib/test/test_hashlib.py

Simple merge