>   File "/var/lib/python-support/python2.4/DNS/Lib.py", line 133, in addname
>     self.buf = self.buf + buf
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 0:
> ordinal not in range(128)

I can confirm this with your reduced test case:

python -c 'import DNS; print DNS.mxlookup(u"gmail.com")'

Also in Sid/Lenny.  It looks like there were buffer packing implications in 
the security fix that neither upstream nor myself appreciated when we wrote 
it.  The security fix had two parts:  source port randomization and 
transaction ID randomization.  If instead of reverted to the package that has 
neither, you change 'self.tid' to '0' in line 199 
of /var/lib/python-support/python2.4/DNS/Base.py you will work around this 
problem and still have source port randomization.


  I've contacted upstream and will get this sorted out.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to