Michael Foord wrote:
> On 15/12/2009 11:23, M.-A. Lemburg wrote:
>> Karen Tracey wrote:
>>
>>> In testing some existing code with the 2.7 alpha release, I've run into:
>>>
>>> TypeError: Unicode-objects must be encoded before hashing
>>>
>>> when the existing code tries to pass unicode obje
On 15/12/2009 11:23, M.-A. Lemburg wrote:
Karen Tracey wrote:
In testing some existing code with the 2.7 alpha release, I've run into:
TypeError: Unicode-objects must be encoded before hashing
when the existing code tries to pass unicode objects to hashlib.sha1 and
hashlib.md5. This
Karen Tracey wrote:
> In testing some existing code with the 2.7 alpha release, I've run into:
>
> TypeError: Unicode-objects must be encoded before hashing
>
> when the existing code tries to pass unicode objects to hashlib.sha1 and
> hashlib.md5. This is, I believe, due to changes made for
In testing some existing code with the 2.7 alpha release, I've run into:
TypeError: Unicode-objects must be encoded before hashing
when the existing code tries to pass unicode objects to hashlib.sha1 and
hashlib.md5. This is, I believe, due to changes made for issue 3745:
http://bugs.python