@@ -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
@@ -49,6 +49,18 @@ people who are using the bindings should go ahead and install.
49
49
python setup.py install
50
50
````
51
51
52
+ We recently added Python 3 support. To build, just invoke
53
+ the Python 3 interpreter rather the Python 2 interpreter (on
54
+ most systems this will be "python3").
55
+
56
+ ```
57
+ python3 setup.py build
58
+ ```
59
+ You will need the
60
+ Python 3 development environment ("python3-dev" or
61
+ "python3-devel", most often).
62
+
63
+
52
64
Documentation
53
65
=============
54
66
@@ -60,18 +72,24 @@ source tree in doc/_build/html. It is also available online at [readthedocs.org
60
72
Changes from the earlier release
61
73
================================
62
74
63
- We've introduced a Context object with attributes and methods, with
64
- queries being Context methods. Attributes can be assigned and read
65
- 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.
66
78
67
- ```python
68
- import getdns.context
69
- my_context = getdns.Context()
70
- my_context.timeout = 1000
71
- print my_context.timeout
72
- ```
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.
73
90
74
- Please see the documentation for details on attributes and methods.
91
+ Please see the documentation for details on new attributes
92
+ extensions, and methods.
75
93
76
94
Examples
77
95
========
0 commit comments