Hijacking thread a bit; I found a bug in messages under python 2.4.

Basically, in 2.4, hmac.new expects digestmod to be an object with a
callable .new().
In 2.5, it expects just a callable.

hashcompat supplied a callable (only) in both cases.

I added *_hmac to hashcompat to make hmac.new work in both cases.

Patch attached; it's tiny.  Want a ticket anyway?

--

You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.


Attachment: messages-hmac-py2.4.diff
Description: Binary data

Reply via email to