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 Adam.Glenn
Recipients Adam.Glenn
Date 2012-09-27.17:21:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348766473.89.0.982631739774.issue16063@psf.upfronthosting.co.za>
In-reply-to
Content
When passing 2 unicode objects to hmac.new() I'm getting "TypeError: character mapping must return integer, None or unicode" I've tried this using hashlib.sha1 and hashlib.md5 and the behavior is the same. What I think is happening is that the trans_5C join at the top of this module is a string so it's causing the type error when I try to generate the new hmac object at line 72.
History
Date User Action Args
2012-09-27 17:21:13Adam.Glennsetrecipients: + Adam.Glenn
2012-09-27 17:21:13Adam.Glennsetmessageid: <1348766473.89.0.982631739774.issue16063@psf.upfronthosting.co.za>
2012-09-27 17:21:13Adam.Glennlinkissue16063 messages
2012-09-27 17:21:13Adam.Glenncreate