[issue21306] PEP 466: backport hmac.compare_digest

Matthias Urlichs report at bugs.python.org
Fri May 30 23:38:24 CEST 2014


Matthias Urlichs added the comment:

Currently (Debian's 2.7.7-rc1 package) hmac.compare_digest accepts two bytestring arguments, or two Unicode stings, but not one bytestring and one unicode.

I don't think that's a good idea.

----------
nosy: +smurfix

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21306>
_______________________________________


More information about the Python-bugs-list mailing list