summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2006-01-05 06:01:50 +0000
committerBob Halley <halley@dnspython.org>2006-01-05 06:01:50 +0000
commit6b59bc8a946a13e8f4e546c6f9687d398d357de3 (patch)
treeb6113d7b901e4817060c57c609b22ccc530e6e1f
parentbb2657dc76e2fec485eab581225d6d13d5ccd35e (diff)
downloaddnspython-6b59bc8a946a13e8f4e546c6f9687d398d357de3.tar.gz
prep 1.4.0
-rw-r--r--README53
-rw-r--r--dns/version.py4
-rwxr-xr-xsetup.py2
3 files changed, 54 insertions, 5 deletions
diff --git a/README b/README
index 5006c8d..cfe22b2 100644
--- a/README
+++ b/README
@@ -22,8 +22,57 @@ development by continuing to employ the author :).
ABOUT THIS RELEASE
-This is dnspython 1.3.5
+This is dnspython 1.4.0.
+New since 1.3.5:
+
+ You can now convert E.164 numbers to/from their ENUM name
+ forms:
+
+ >>> import dns.e164
+ >>> n = dns.e164.from_e164("+1 555 1212")
+ >>> n
+ <DNS name 2.1.2.1.5.5.5.1.e164.arpa.>
+ >>> n.to_e164()
+ >>> dns.e164.to_e164(n)
+ '+15551212'
+
+ You can now convert IPv4 and IPv6 address to/from their
+ corresponding DNS reverse map names:
+
+ >>> import dns.reversename
+ >>> n = dns.reversename.from_address("127.0.0.1")
+ >>> n
+ <DNS name 1.0.0.127.in-addr.arpa.>
+ >>> dns.reversename.to_address(n)
+ '127.0.0.1'
+
+ You can now convert between Unicode strings and their IDN ACE
+ form:
+
+ >>> n = dns.name.from_text(u'les-\u00e9l\u00e8ves.example.')
+ >>> n
+ <DNS name xn--les-lves-50ai.example.>
+ >>> n.to_unicode()
+ u'les-\xe9l\xe8ves.example.'
+
+ The origin parameter to dns.zone.from_text() and dns.zone.to_text()
+ is now optional. If not specified, the origin will be taken from
+ the first $ORIGIN statement in the master file.
+
+ Sanity checking of a zone can be disabled; this is useful when
+ working with files which are zone fragments.
+
+Bugs fixed since 1.3.5:
+
+ The correct delimiter was not used when retrieving the
+ list of nameservers from the registry in certain versions of
+ windows.
+
+ The floating-point version of latitude and longitude in LOC RRs
+ (float_latitude and float_longitude) had incorrect signs for
+ south latitudes and west longitudes.
+
New since 1.3.4:
In the resolver, if time goes backward a little bit, ignore
@@ -38,7 +87,7 @@ New since 1.3.4:
will output "dnspython.org." and
- print dns.resolver.zone_for_name('a.b.c.d.e.f.example.')
+ print dns.resolver.zone_for_name('a.b.c.d.e.f.example.')
will output ".".
diff --git a/dns/version.py b/dns/version.py
index bce0595..683f6eb 100644
--- a/dns/version.py
+++ b/dns/version.py
@@ -16,8 +16,8 @@
"""dnspython release version information."""
MAJOR = 1
-MINOR = 3
-MICRO = 5
+MINOR = 4
+MICRO = 0
RELEASELEVEL = 0x0f
SERIAL = 0
diff --git a/setup.py b/setup.py
index 297d021..54c1b8b 100755
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ from distutils.core import setup
setup(
name = "dnspython",
- version = "1.3.5",
+ version = "1.4.0",
description = "DNS toolkit",
long_description = \
"""dnspython is a DNS toolkit for Python. It supports almost all