On 23 Sep 2010, at 21:06, Kevin Chen wrote:

> It would probably make sense to try to detect this in some way, as well as 
> document the problem.  If I have time later, I may write a patch (although 
> that may be a while later).

I looked at the commit logs for python.  The problem is fixed in versions 2.5.2 
and greater (i.e. no version of 2.6 went out with the bug).

dnspython 1.8.1 will detect this condition and say something like this if you 
run on an old python:

>>> dns.tsig.get_algorithm(dns.tsig.HMAC_SHA384)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.6/site-packages/dns/tsig.py", line 232, in 
get_algorithm
    " requires Python 2.5.2 or later")
NotImplementedError: TSIG algorithm hmac-sha384. requires Python 2.5.2 or later


 
_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users

Reply via email to