Message162882
| Author |
pitrou |
| Recipients |
christian.heimes, fijall, hynek, loewis, ncoghlan, petri.lehtinen, pitrou |
| Date |
2012年06月15日.10:31:56 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339756132.3399.2.camel@localhost.localdomain> |
| In-reply-to |
<1339754422.02.0.747287512063.issue15061@psf.upfronthosting.co.za> |
| Content |
> I could wrap up a quick C implementation if you like. The operator
> module is a better place for a total_compare() function. Do you a
> agree?
I think the function is fine in either hashlib or hmac. Putting it in
one of these modules is a hint that it's security-related. On the other
hand, linking to it from these modules' documentations is just as fine,
if it is put in the operator module.
If you make a C implementation, it could also be interesting to cover
the pure-ASCII unicode case. |
|