summaryrefslogtreecommitdiff
path: root/differences.md
blob: 18c02cde87c6d5376b31b6d11aaf323886c5c90a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Incompatible differences between dnspython 1.x and 2.x

## Rounding

dnspython 2.0 rounds in the standard python 3 fashion; dnspython 1.x rounded
in the python 2 style on both python 2 and 3.

# Removed hash module

dns.hash module was removed. Use Python built in hashlib instead.

# dns.rdata.Rdata instances are now immutable

The replace() method can be used to create copies with changes.