+2013-04-26 Bob Halley <halley@dnspython.org>
+
+ * dns/ipv6.py (inet_ntoa): We now comply with RFC 5952 section
+ 5.2.2, by *not* using the :: syntax to shorten just one 16-bit
+ field. Thanks to David Waitzman for reporting the bug and
+ suggesting the fix.
+
2012-08-28 Bob Halley <halley@dnspython.org>
* dns/rdtypes/ANY/NSEC3.py (NSEC3.from_text): The NSEC3 from_text()
for addr in addrs:
self.assertRaises(dns.exception.SyntaxError, make_bad(addr))
+ def test_rfc5952_section_4_2_2(self):
+ addr = '2001:db8:0:1:1:1:1:1'
+ b1 = aton6(addr)
+ t1 = ntoa6(b1)
+ self.assertTrue(t1 == addr)
+
if __name__ == '__main__':
unittest.main()