This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients georg.brandl, kteague, victorstar
Date 2009-04-05.16:35:36
SpamBayes Score 2.1043637e-07
Marked as misclassified No
Message-id <1238949338.12.0.150292064906.issue5285@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3 behavior is correct.  Since HMAC operates on bytes, not text,
only bytes are accepted. In Python 2, the acceptance of Unicode strings
is more an accident than a feature.
History
Date User Action Args
2009-04-05 16:35:38georg.brandlsetrecipients: + georg.brandl, kteague, victorstar
2009-04-05 16:35:38georg.brandlsetmessageid: <1238949338.12.0.150292064906.issue5285@psf.upfronthosting.co.za>
2009-04-05 16:35:36georg.brandllinkissue5285 messages
2009-04-05 16:35:36georg.brandlcreate