hmac.digest() return value
Hi, I am new to Python 3, but I believe I have found a little error in the documentation. The return value of hmac.digest() is a bytes object, and not a string. See http://docs.python.org/py3k/library/hmac.html . Regards Perseids
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 08.06.2010 01:03, schrieb Perseids:
Hi,
I am new to Python 3, but I believe I have found a little error in the documentation. The return value of hmac.digest() is a bytes object, and not a string. See http://docs.python.org/py3k/library/hmac.html .
Hi, thanks for your report; this is now fixed in the development docs. regards, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAky6xT4ACgkQN9GcIYhpnLB8uACgjdMnFX36OVR1WuGkwK1bcGps JfUAnRADq/6BuUeDKb3VC9Sh/6CNmmAf =euGM -----END PGP SIGNATURE-----
participants (2)
-
Georg Brandl
-
Perseids