]>
git.ipfire.org Git - thirdparty/dnspython.git/log
Martin [Sat, 2 Jul 2016 21:12:56 +0000 (23:12 +0200)]
Py3: do not use iter* methods with dict
Bob Halley [Fri, 1 Jul 2016 23:07:43 +0000 (16:07 -0700)]
Merge pull request #178 from bastiak/pylint
Add Pylint
Martin Basti [Sun, 26 Jun 2016 23:15:31 +0000 (01:15 +0200)]
Pylint: enable superfluous-parens check
Martin Basti [Sun, 26 Jun 2016 22:29:10 +0000 (00:29 +0200)]
Pylint: enable bad-whitespace check
Martin Basti [Sun, 26 Jun 2016 22:21:42 +0000 (00:21 +0200)]
Pylint: enable delslice-method check
__delslice__ is deprecated since python 2.6 and was removed in py3
Martin Basti [Sun, 26 Jun 2016 22:06:42 +0000 (00:06 +0200)]
Pylint: enable deprecated-lambda check
Martin Basti [Sun, 26 Jun 2016 22:03:54 +0000 (00:03 +0200)]
Pylint: enable old-division check
Martin Basti [Sun, 26 Jun 2016 21:55:36 +0000 (23:55 +0200)]
Pylint: enable range-builtin-not-iterating check
Martin Basti [Sun, 26 Jun 2016 21:51:57 +0000 (23:51 +0200)]
Pylint: enable undefined-variable check
Martin Basti [Sun, 26 Jun 2016 21:19:25 +0000 (23:19 +0200)]
Pylint: enable multiple py3 *-builtin checks
Martin Basti [Sun, 26 Jun 2016 20:08:59 +0000 (22:08 +0200)]
Pylint: enable unneeded-not check
Martin Basti [Sun, 26 Jun 2016 19:57:47 +0000 (21:57 +0200)]
Pylint: enable unnecessary-lambda check
Martin Basti [Sun, 26 Jun 2016 19:55:17 +0000 (21:55 +0200)]
Pylint: enable undefined-loop-variable check
Martin Basti [Sun, 26 Jun 2016 19:31:44 +0000 (21:31 +0200)]
Pylint: enable unused-import check
Martin Basti [Sun, 26 Jun 2016 19:29:22 +0000 (21:29 +0200)]
Pylint: NotImplementedError
Martin Basti [Sun, 26 Jun 2016 19:15:50 +0000 (21:15 +0200)]
Pylint: enable import-error check
Martin Basti [Sun, 26 Jun 2016 19:09:04 +0000 (21:09 +0200)]
Add pylint checker
Bob Halley [Sat, 18 Jun 2016 13:51:36 +0000 (06:51 -0700)]
Fix another Python 2/3 code merge unicode issue.
Bob Halley [Mon, 13 Jun 2016 14:39:41 +0000 (07:39 -0700)]
Merge pull request #109 from cluck/master
Expose responses on NXDOMAIN exception
Claudio Luck [Wed, 27 May 2015 15:54:13 +0000 (17:54 +0200)]
Pass partial answer when raising DNSException, added unit tests
Bob Halley [Wed, 1 Jun 2016 13:48:56 +0000 (06:48 -0700)]
Convert TSIG other data into a binary type if needed.
Bob Halley [Wed, 1 Jun 2016 13:16:51 +0000 (06:16 -0700)]
inc version
Bob Halley [Wed, 1 Jun 2016 13:15:35 +0000 (06:15 -0700)]
Fix problems with escaping in quoted strings and names.
[issue #168]
Bob Halley [Tue, 31 May 2016 23:28:53 +0000 (16:28 -0700)]
Encode and decode TSIG keyrings as needed on Python 3.
[issue #171]
Bob Halley [Tue, 31 May 2016 13:46:41 +0000 (06:46 -0700)]
dns.ipv6.inet_ntoa() should return a string.
[issue #167]
Bob Halley [Mon, 30 May 2016 23:34:32 +0000 (16:34 -0700)]
revert prior patch as things are more messed up than I thought!
Bob Halley [Mon, 30 May 2016 23:24:25 +0000 (16:24 -0700)]
dns.ipv6.inet_ntoa() should return a string.
[issue #167]
Bob Halley [Sat, 28 May 2016 19:45:46 +0000 (12:45 -0700)]
Add socket_factory to allow socket creation to be overridden when needed.
Bob Halley [Sat, 28 May 2016 17:07:11 +0000 (10:07 -0700)]
Merge pull request #166 from kitterma/master
Automatically skip tests that require Internet access if it is not av…
Scott Kitterman [Sat, 28 May 2016 16:46:20 +0000 (12:46 -0400)]
Automatically skip tests that require Internet access if it is not available
Add code in tests/test_resolver.py to check if dnspython.org can be looked up by socket.gethostbyname as a test of Internet reachability
Skip tests requiring Internet access (testZoneForName1, testZoneForName2, and testZoneForName3) if it is not available
Bob Halley [Fri, 27 May 2016 16:12:53 +0000 (09:12 -0700)]
Prep 1.14.0
Bob Halley [Thu, 26 May 2016 21:45:18 +0000 (14:45 -0700)]
Merge pull request #164 from jwilk/spelling
Fix typos
Jakub Wilk [Thu, 26 May 2016 21:40:29 +0000 (23:40 +0200)]
Fix typos
Bob Halley [Mon, 23 May 2016 22:18:47 +0000 (15:18 -0700)]
Add CSYNC
Bob Halley [Fri, 20 May 2016 18:41:39 +0000 (11:41 -0700)]
harmonize example zone
Bob Halley [Fri, 20 May 2016 14:01:27 +0000 (07:01 -0700)]
LOC processing lost N/S or E/W info when values were within a
degree of the equator or the prime meridian.
Bob Halley [Tue, 17 May 2016 14:25:15 +0000 (07:25 -0700)]
try winreg on Windows [issue #160]
Bob Halley [Sun, 15 May 2016 12:47:19 +0000 (05:47 -0700)]
Merge pull request #159 from n8henrie/issue_157
Explicitly use bytes to avoid TypeError with concatenation
Bob Halley [Sun, 15 May 2016 12:46:52 +0000 (05:46 -0700)]
Merge pull request #158 from n8henrie/issue_156
Add compatibility with BlockingIOError for Python3
Nathan Henrie [Sat, 14 May 2016 21:28:58 +0000 (15:28 -0600)]
Explicitly use bytes to avoid TypeError with concatenation
Fixes rthalley/dnspython#157
On Python3, this previously would raise a TypeError when one tried to
add bytes and a string, this initializes s and n to bytes instead.
Nathan Henrie [Sat, 14 May 2016 21:10:52 +0000 (15:10 -0600)]
Add compatibility with BlockingIOError for Python3
Fixes rthalley/dnspython#156
At least in Python3.5, BlockingIOError is not subscriptable. Its
`.errno` attribute seems to be able to provide the necessary
information.
Bob Halley [Fri, 13 May 2016 13:44:37 +0000 (06:44 -0700)]
Update with recent changes
Bob Halley [Fri, 13 May 2016 13:43:36 +0000 (06:43 -0700)]
dns.message.make_query() now interprets any setting that implies
EDNS as a request to turn on EDNS, if use_edns has not been set
explicitly.
Bob Halley [Thu, 12 May 2016 21:19:35 +0000 (14:19 -0700)]
Try again to fix TSIG hashes
Bob Halley [Thu, 12 May 2016 21:15:34 +0000 (14:15 -0700)]
Fix TSIG algorithm to hash mapping
Bob Halley [Thu, 12 May 2016 13:20:01 +0000 (06:20 -0700)]
Do not reference docstrings in exception formatting as they may be stripped.
[issue #154]
Bob Halley [Wed, 11 May 2016 21:54:30 +0000 (14:54 -0700)]
Allow an origin of None to be specified when constructing a
Zone object.
[issue #153]
Bob Halley [Tue, 10 May 2016 17:02:12 +0000 (10:02 -0700)]
Doc prep for 1.13
Bob Halley [Tue, 10 May 2016 16:57:17 +0000 (09:57 -0700)]
unichr portability support
Bob Halley [Sun, 8 May 2016 18:53:19 +0000 (11:53 -0700)]
Fix problems with
dns.name.from_unicode(u'\u00ff' * 60)
dns.name.from_unicode(u'\\255')
Bob Halley [Sun, 8 May 2016 18:41:21 +0000 (11:41 -0700)]
Allow zone origin to be specified as a string.
Bob Halley [Sun, 8 May 2016 17:43:31 +0000 (10:43 -0700)]
fix another indexing keys() issue.
Bob Halley [Fri, 6 May 2016 15:26:06 +0000 (08:26 -0700)]
Merge pull request #151 from luisgf/master
Dictionary keys doesn't support slicing.
Luis González Fernández [Thu, 5 May 2016 19:02:52 +0000 (21:02 +0200)]
Dictionary keys doesn't support slicing. That's throw an error in the program
if the 'keyname' parameter is not passed.
Doing a list(dict())[0] solve this problem.
Bob Halley [Tue, 3 May 2016 23:16:33 +0000 (16:16 -0700)]
start 1.13 release prep
Bob Halley [Tue, 3 May 2016 23:10:47 +0000 (16:10 -0700)]
Merge pull request #148 from baloo/python3-python2
make dnspython codebase python2/python3 compatible
Arthur Gautier [Thu, 21 Apr 2016 00:40:59 +0000 (00:40 +0000)]
test: I believe this ip to be legitimate
Signed-off-by: Arthur Gautier <baloo@gandi.net>
Arthur Gautier [Wed, 30 Mar 2016 23:09:45 +0000 (23:09 +0000)]
test: incorrect test relying on type comparison
This test relies on python2 type comparison mechanism.
A simplier test case is:
``` python
In [1]: class X(object):
def __gt__(self, other):
return NotImplemented
...:
In [2]: a=X()
In [3]: a>1
Out[3]: True
In [4]: a<1
Out[4]: False
```
Works on python2, not on python3.
Therefore, I'm dropping the testcase
See http://eli.thegreenplace.net/2016/comparing-types-in-python-3/ for
more information about that
Signed-off-by: Arthur Gautier <baloo@gandi.net>
Arthur Gautier [Thu, 21 Apr 2016 15:19:01 +0000 (15:19 +0000)]
setup.py: version classifiers
Signed-off-by: Arthur Gautier <baloo@gandi.net>
Arthur Gautier [Tue, 29 Mar 2016 17:51:13 +0000 (17:51 +0000)]
python3 support
Signed-off-by: Arthur Gautier <baloo@gandi.net>
Arthur Gautier [Wed, 30 Mar 2016 20:52:21 +0000 (20:52 +0000)]
Adds tox and coverage.py
Signed-off-by: Arthur Gautier <baloo@gandi.net>
Arthur Gautier [Tue, 29 Mar 2016 18:03:43 +0000 (18:03 +0000)]
setup.py: use setuptools instead of distutils
Signed-off-by: Arthur Gautier <baloo@gandi.net>
Bob Halley [Sat, 5 Mar 2016 00:33:52 +0000 (16:33 -0800)]
Merge pull request #146 from CoresecSystems/master
Fix NameDicts (on python2)
Francisco Izquierdo [Fri, 4 Mar 2016 20:41:44 +0000 (21:41 +0100)]
Fix NameDicts so they keep track of the max_length properly and handle things like update properly
Bob Halley [Sun, 21 Feb 2016 23:38:08 +0000 (15:38 -0800)]
further md-ify
Bob Halley [Sun, 21 Feb 2016 23:30:54 +0000 (15:30 -0800)]
Import dns.tsig
Bob Halley [Sun, 21 Feb 2016 23:27:52 +0000 (15:27 -0800)]
Merge pull request #141 from tbabej/master
resolver: Reject lines with less than two tokens
Bob Halley [Sun, 21 Feb 2016 23:26:46 +0000 (15:26 -0800)]
Merge pull request #138 from crhan/feature/add_build_status
add build status in README for master branch
Bob Halley [Sun, 21 Feb 2016 23:24:56 +0000 (15:24 -0800)]
Merge pull request #142 from bastiak/master
Fix typo in resolver.py
Bob Halley [Sun, 21 Feb 2016 23:22:21 +0000 (15:22 -0800)]
Set response_time to zero when exceptions occur early.
Martin Basti [Fri, 29 Jan 2016 17:23:22 +0000 (18:23 +0100)]
Fix typo in resolver.py
Tomas Babej [Thu, 28 Jan 2016 14:05:01 +0000 (15:05 +0100)]
resolver: Reject lines with less than two tokens
ruohan.chen [Sun, 10 Jan 2016 01:59:57 +0000 (09:59 +0800)]
fix it
Bob Halley [Sat, 9 Jan 2016 00:16:49 +0000 (16:16 -0800)]
change to tweak travis
Bob Halley [Sat, 9 Jan 2016 00:13:11 +0000 (16:13 -0800)]
only python 2.7
Bob Halley [Sat, 9 Jan 2016 00:10:30 +0000 (16:10 -0800)]
Merge pull request #136 from crhan/feature/travis-ci
add trvis-ci support
Bob Halley [Sat, 9 Jan 2016 00:08:31 +0000 (16:08 -0800)]
exit with non-zero status on failure
ruohan.chen [Thu, 7 Jan 2016 03:26:42 +0000 (11:26 +0800)]
add trvis-ci
Bob Halley [Mon, 14 Dec 2015 18:01:10 +0000 (10:01 -0800)]
Merge pull request #131 from crhan/unicode_bugfix
Unicode support bugfix
ruohan.chen [Sat, 12 Dec 2015 08:59:05 +0000 (16:59 +0800)]
Unicode support bugfix
Bob Halley [Thu, 3 Dec 2015 15:52:20 +0000 (07:52 -0800)]
Merge pull request #130 from pspacek/eui
Add support for EUI48 and EUI64 RR types
Petr Spacek [Thu, 3 Dec 2015 12:07:41 +0000 (13:07 +0100)]
Add support for EUI48 and EUI64 RR types
Bob Halley [Mon, 2 Nov 2015 14:03:30 +0000 (06:03 -0800)]
Merge pull request #128 from fcelda/master
CDS/CDNSKEY support (Python 2)
Jan Vcelak [Sat, 31 Oct 2015 11:19:06 +0000 (12:19 +0100)]
Add support for CDNSKEY record type
Jan Vcelak [Sat, 31 Oct 2015 05:42:07 +0000 (06:42 +0100)]
Add support for CDS record type
Bob Halley [Mon, 7 Sep 2015 12:57:41 +0000 (05:57 -0700)]
Merge pull request #119 from TJRoger/master
Add installation guide
Roger [Sun, 6 Sep 2015 15:36:36 +0000 (23:36 +0800)]
Update README.md
Roger [Sun, 6 Sep 2015 15:35:03 +0000 (23:35 +0800)]
Rename README to README.md
Roger [Sun, 6 Sep 2015 15:34:24 +0000 (23:34 +0800)]
Update README
Bob Halley [Tue, 14 Jul 2015 12:40:54 +0000 (05:40 -0700)]
Merge pull request #113 from akettmann/master
Correct some typos of "of of"
Bob Halley [Tue, 14 Jul 2015 12:36:24 +0000 (05:36 -0700)]
Merge pull request #111 from preo/dns-port
Support per-nameserver port setting to dns.resolver.Resolver.
Bob Halley [Tue, 14 Jul 2015 12:33:01 +0000 (05:33 -0700)]
Merge pull request #112 from preo/safe-fqdn
Don't throw on unresolved FQDN in overridden getfqdn.
Robert Estelle [Thu, 9 Oct 2014 21:51:21 +0000 (17:51 -0400)]
Support per-nameserver port setting.
This change is backwards-compatible by maintaining a nameserver_port
mapping dict.
Robert Estelle [Tue, 14 Jul 2015 01:15:07 +0000 (21:15 -0400)]
Revert tuple-based per-nameserver port setting.
This reverts commit
55d1abc74c6360d4ae96a8b59e999ba5dc5997ad .
akettmann [Tue, 23 Jun 2015 17:41:06 +0000 (12:41 -0500)]
Correct some typos of "of of"
Robert Estelle [Sat, 11 Oct 2014 00:50:24 +0000 (20:50 -0400)]
Don't throw on unresolved-fqdn for overridden getfqdn.
Robert Estelle [Thu, 9 Oct 2014 21:51:21 +0000 (17:51 -0400)]
Support per-nameserver port setting.
Bob Halley [Sat, 13 Jun 2015 12:26:21 +0000 (05:26 -0700)]
Fix CAA from_wire()
Bob Halley [Tue, 14 Apr 2015 15:21:29 +0000 (08:21 -0700)]
Merge pull request #92 from pspacek/parametrized_exceptions
Parametrized exceptions
Petr Spacek [Fri, 27 Mar 2015 13:52:25 +0000 (14:52 +0100)]
Add information about protocol, request, and response to NoNameservers exception.
Information about UDP/TCP protocol usage is returned from str(NoNameservers) but
request and response variables are intended for application debug logs
and are not returned from str().
str() for parametrized version of the exception now returns string like:
All nameservers failed to answer the query localhost. IN URI: Server 192.0.2.1 TCP port 53 anwered BADVERS; Server 192.0.2.2 UDP port 53 anwered BADVERS