Marc Abramowitz <[email protected]> added the comment:

And here is the tiny patch to make it clear in the error message which of the 3 
arguments had the wrong type -- I follow the convention followed in some 
TypeErrors raised in Lib/zipfile.py

----------
Added file: http://bugs.python.org/file26213/hmac.py.patch

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15225>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to