@@ -6,11 +6,11 @@ Python bindings for getdns
6
6
External dependencies
7
7
=====================
8
8
9
- Built and tested against Python 2.7. You will need to install
9
+ Built and tested against Python 2.7 and Python 3.4 . You will need to install
10
10
the Python headers and libraries - this is usually a package
11
11
called "python-dev"
12
12
13
- Currently building against the getdns 0.1.3 release.
13
+ Currently building against the getdns 0.3.1 release.
14
14
getdns external dependencies include:
15
15
16
16
* [ libldns from NLnet Labs] ( https://www.nlnetlabs.nl/projects/ldns/ ) version 1.6.11 or later (ldns requires ope
@@ -51,7 +51,12 @@ python setup.py install
51
51
52
52
We recently added Python 3 support. To build, just invoke
53
53
the Python 3 interpreter rather the Python 2 interpreter (on
54
- most systems this will be "python3"). You will need the
54
+ most systems this will be "python3").
55
+
56
+ ```
57
+ python3 setup.py build
58
+ ```
59
+ You will need the
55
60
Python 3 development environment ("python3-dev" or
56
61
"python3-devel", most often).
57
62
@@ -67,18 +72,24 @@ source tree in doc/_build/html. It is also available online at [readthedocs.org
67
72
Changes from the earlier release
68
73
================================
69
74
70
- We've introduced a Context object with attributes and methods, with
71
- queries being Context methods. Attributes can be assigned and read
72
- directly without using the getdns setters and getters. For example,
75
+ In addition to adding Python 3 support, we've changed the callback
76
+ argument to the asynchronous methods to accept a callable by name,
77
+ rather than as a literal string.
73
78
74
- ```python
75
- import getdns.context
76
- my_context = getdns.Context()
77
- my_context.timeout = 1000
78
- print my_context.timeout
79
- ```
79
+ We're also now supporting a new transport_list attribute, an
80
+ ordered (by preference) list of transport options, including
81
+ TCP, UDP, TLS, and STARTTLS.
82
+
83
+ There are also a number of bugfixes, including cleaning up
84
+ after unbound zombies (this has been fixed in unbound as well
85
+ but the code is not yet included in a distribution) and
86
+ correct handling of strings encoded as getdns bindatas.
87
+
88
+ Examples have been updated to work with both Python 2.x and
89
+ Python 3.
80
90
81
- Please see the documentation for details on attributes and methods.
91
+ Please see the documentation for details on new attributes
92
+ extensions, and methods.
82
93
83
94
Examples
84
95
========
0 commit comments