New submission from Adam Glenn:

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.

----------
components: None
messages: 171384
nosy: Adam.Glenn
priority: normal
severity: normal
status: open
title: HMAC trans_5C is a string, causing a TypeError
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16063>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to