Skip to content

Commit bbdc002

Browse files
committed
Updated README for 0.4.0 release
1 parent 8653929 commit bbdc002

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

README.md

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Python bindings for getdns
66
External dependencies
77
=====================
88

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
1010
the Python headers and libraries - this is usually a package
1111
called "python-dev"
1212

13-
Currently building against the getdns 0.1.3 release.
13+
Currently building against the getdns 0.3.1 release.
1414
getdns external dependencies include:
1515

1616
* [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
5151
5252
We recently added Python 3 support. To build, just invoke
5353
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
5560
Python 3 development environment ("python3-dev" or
5661
"python3-devel", most often).
5762
@@ -67,18 +72,24 @@ source tree in doc/_build/html. It is also available online at [readthedocs.org
6772
Changes from the earlier release
6873
================================
6974
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.
7378
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.
8090
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.
8293
8394
Examples
8495
========

0 commit comments

Comments
 (0)