[Twisted-Python] DNS changes

Jp Calderone exarkun at intarweb.us
Mon Dec 30 00:50:08 EST 2002

  I've just committed some changes to the DNS client code that are not
backwards compatible.  I don't think many people are using it yet (Tv is
actually the only person I know of), but if you are, consider this your
heads up :)  The change is in all the lookup* methods - they now return a
tuple of 3 lists.  The first element of this tuple is the same list as was
previously returned, all by its lonesome.  There's also a new, high-level
interface available via getHostByName().  It returns just a string.


"There is no reason for any individual to have a computer in their
                -- Ken Olson, President of DEC, World Future Society
                   Convention, 1977
 12:00am up 14 days, 9:45, 3 users, load average: 0.15, 0.25, 0.16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20021230/580a760f/attachment.pgp 

More information about the Twisted-Python mailing list