]> git.ipfire.org Git - thirdparty/dnspython.git/log
thirdparty/dnspython.git
9 years agoClarify ceiling, add tests, fix doc, fix python3 217/head
pascal.bouchareine [Tue, 8 Nov 2016 19:09:34 +0000 (11:09 -0800)] 
Clarify ceiling, add tests, fix doc, fix python3

- bad class doc
- explicit ceil
- python3 encoding issue
- improve edns testing

9 years agomake lint happy
pascal.bouchareine [Thu, 3 Nov 2016 21:25:54 +0000 (14:25 -0700)] 
make lint happy

9 years agoImplement EDNS Client Subnet option
pascal.bouchareine [Thu, 3 Nov 2016 19:06:25 +0000 (12:06 -0700)] 
Implement EDNS Client Subnet option

9 years ago2.6 testing still fails due to test suite issues
Bob Halley [Mon, 10 Oct 2016 23:18:28 +0000 (16:18 -0700)] 
2.6 testing still fails due to test suite issues

9 years agoadd 2.6-dev to testing
Bob Halley [Mon, 10 Oct 2016 23:06:47 +0000 (16:06 -0700)] 
add 2.6-dev to testing

9 years agoAdd OPENPGPKEY RR support.
Bob Halley [Mon, 10 Oct 2016 13:43:36 +0000 (06:43 -0700)] 
Add OPENPGPKEY RR support.

9 years agoadd wheel config file
Bob Halley [Sat, 8 Oct 2016 23:37:50 +0000 (16:37 -0700)] 
add wheel config file

9 years agoremove cruft
Bob Halley [Sat, 8 Oct 2016 23:37:23 +0000 (16:37 -0700)] 
remove cruft

9 years agomake python 3 default for kitting
Bob Halley [Sat, 8 Oct 2016 23:36:58 +0000 (16:36 -0700)] 
make python 3 default for kitting

9 years agoadd extras_require
Bob Halley [Sat, 8 Oct 2016 23:36:36 +0000 (16:36 -0700)] 
add extras_require

9 years agodelint
Bob Halley [Fri, 7 Oct 2016 18:03:19 +0000 (11:03 -0700)] 
delint

9 years agoadd test2 and test3 targets
Bob Halley [Thu, 6 Oct 2016 23:29:38 +0000 (16:29 -0700)] 
add test2 and test3 targets

9 years agoadd a way to specify the test discovery pattern
Bob Halley [Thu, 6 Oct 2016 23:29:19 +0000 (16:29 -0700)] 
add a way to specify the test discovery pattern

9 years agoMerge pull request #211 from avylove/patch-2
Bob Halley [Tue, 4 Oct 2016 12:37:25 +0000 (05:37 -0700)] 
Merge pull request #211 from avylove/patch-2

Include README.md with source

9 years agoInclude README.md with source 211/head
Avram Lubkin [Tue, 4 Oct 2016 12:35:51 +0000 (08:35 -0400)] 
Include README.md with source

9 years agoMerge pull request #210 from avylove/patch-1
Bob Halley [Tue, 4 Oct 2016 12:23:24 +0000 (05:23 -0700)] 
Merge pull request #210 from avylove/patch-1

Test creates file in wrong location

9 years agoTest creates file in wrong location 210/head
Avram Lubkin [Tue, 4 Oct 2016 11:32:20 +0000 (07:32 -0400)] 
Test creates file in wrong location

test_zone.ZoneTestCase.testToFileFilename fails with OSError: [Errno 2] No such file or directory

9 years agoMove info about releases other than the current one to the end.
Bob Halley [Fri, 30 Sep 2016 22:44:45 +0000 (15:44 -0700)] 
Move info about releases other than the current one to the end.

9 years agoFactor out core send and receive functionalty from
Bob Halley [Fri, 30 Sep 2016 22:20:08 +0000 (15:20 -0700)] 
Factor out core send and receive functionalty from
dns.query.udp() and dns.query.tcp(), helping
applications that want more control over the
socket.

9 years agobump version post-release
Bob Halley [Fri, 30 Sep 2016 18:45:52 +0000 (11:45 -0700)] 
bump version post-release

9 years agofix epydoc params for idna_codec v1.15.0
Bob Halley [Fri, 30 Sep 2016 15:16:26 +0000 (08:16 -0700)] 
fix epydoc params for idna_codec

9 years ago1.15.0 prep
Bob Halley [Fri, 30 Sep 2016 14:42:14 +0000 (07:42 -0700)] 
1.15.0 prep

9 years agomore Changelog updates
Bob Halley [Thu, 29 Sep 2016 15:37:54 +0000 (08:37 -0700)] 
more Changelog updates

9 years agoupdate
Bob Halley [Thu, 29 Sep 2016 15:29:49 +0000 (08:29 -0700)] 
update

9 years agoMake IDNA default decode just decode the punycode.
Bob Halley [Thu, 29 Sep 2016 15:25:50 +0000 (08:25 -0700)] 
Make IDNA default decode just decode the punycode.

9 years agodns.name.to_text() should return text. [Issue #209]
Bob Halley [Tue, 27 Sep 2016 21:42:23 +0000 (14:42 -0700)] 
dns.name.to_text() should return text.  [Issue #209]

9 years agoAdd IDNA 2008 Practical mode, since IDNA 2008 is absurdly strict.
Bob Halley [Mon, 26 Sep 2016 19:38:20 +0000 (12:38 -0700)] 
Add IDNA 2008 Practical mode, since IDNA 2008 is absurdly strict.

9 years agomake pylint happy
Bob Halley [Mon, 26 Sep 2016 15:52:43 +0000 (08:52 -0700)] 
make pylint happy

9 years agoWhen raising NoAnswer from a cache hit, supply the response.
Bob Halley [Mon, 26 Sep 2016 15:51:25 +0000 (08:51 -0700)] 
When raising NoAnswer from a cache hit, supply the response.
[Issue #206]

9 years agoFix linting change that caused the wrong qname to be used when
Bob Halley [Mon, 26 Sep 2016 15:45:37 +0000 (08:45 -0700)] 
Fix linting change that caused the wrong qname to be used when
contructing the Answer object, which caused everything to be not found.
[Issue #206]

9 years agode-lint IDNA
Bob Halley [Sun, 25 Sep 2016 19:28:04 +0000 (12:28 -0700)] 
de-lint IDNA

9 years agoA simpler and more extensible IDNA API.
Bob Halley [Sun, 25 Sep 2016 19:14:21 +0000 (12:14 -0700)] 
A simpler and more extensible IDNA API.

9 years agoFix python3 IDNA 2008 testing bugs.
Bob Halley [Wed, 21 Sep 2016 12:55:42 +0000 (05:55 -0700)] 
Fix python3 IDNA 2008 testing bugs.

9 years agoOnly use IDNA 2008 if requested.
Bob Halley [Wed, 21 Sep 2016 12:44:37 +0000 (05:44 -0700)] 
Only use IDNA 2008 if requested.

9 years agoremove python nightlies for now as I do not care much and they are fragile at the...
Bob Halley [Tue, 20 Sep 2016 20:16:25 +0000 (13:16 -0700)] 
remove python nightlies for now as I do not care much and they are fragile at the moment

9 years agoAdd AVC RR support.
Bob Halley [Tue, 20 Sep 2016 20:00:33 +0000 (13:00 -0700)] 
Add AVC RR support.

9 years agoDocument IDNA parameters.
Bob Halley [Tue, 20 Sep 2016 19:18:23 +0000 (12:18 -0700)] 
Document IDNA parameters.

9 years agofix minor doco errors.
Bob Halley [Tue, 20 Sep 2016 19:16:09 +0000 (12:16 -0700)] 
fix minor doco errors.

9 years agoupdate for 1.15.0
Bob Halley [Tue, 20 Sep 2016 19:02:32 +0000 (12:02 -0700)] 
update for 1.15.0

9 years agoremove lint on test as it breaks on python 2.6
Bob Halley [Tue, 20 Sep 2016 16:55:39 +0000 (09:55 -0700)] 
remove lint on test as it breaks on python 2.6

9 years agoMerge pull request #193 from pspacek/pylint
Bob Halley [Tue, 20 Sep 2016 16:51:05 +0000 (09:51 -0700)] 
Merge pull request #193 from pspacek/pylint

Pylint improvements

9 years agoDo not build python3 branch any more.
Bob Halley [Tue, 20 Sep 2016 12:55:19 +0000 (05:55 -0700)] 
Do not build python3 branch any more.

9 years agoIf the IDNA2008 module "idna" is available, use it and do IDNA 2008 encoding.
Bob Halley [Mon, 19 Sep 2016 17:12:08 +0000 (10:12 -0700)] 
If the IDNA2008 module "idna" is available, use it and do IDNA 2008 encoding.

9 years agoMerge pull request #202 from m3047/master
Bob Halley [Mon, 19 Sep 2016 17:06:18 +0000 (10:06 -0700)] 
Merge pull request #202 from m3047/master

DWIMmmy

9 years agoMerge pull request #197 from bastiak/pylint
Bob Halley [Sun, 18 Sep 2016 23:08:23 +0000 (16:08 -0700)] 
Merge pull request #197 from bastiak/pylint

Pylint

9 years agoremove distros
Bob Halley [Sun, 18 Sep 2016 22:52:21 +0000 (15:52 -0700)] 
remove distros

9 years agoMerge pull request #190 from sebix/readme
Bob Halley [Sun, 18 Sep 2016 22:50:56 +0000 (15:50 -0700)] 
Merge pull request #190 from sebix/readme

Docs: Readme fixes

9 years agoMerge pull request #188 from bastiak/py3-zonefix
Bob Halley [Sun, 18 Sep 2016 22:48:24 +0000 (15:48 -0700)] 
Merge pull request #188 from bastiak/py3-zonefix

Fix encoding errors zone.to_file()

9 years agoMerge pull request #196 from bastiak/py3-slice
Bob Halley [Sun, 18 Sep 2016 22:46:00 +0000 (15:46 -0700)] 
Merge pull request #196 from bastiak/py3-slice

Py3: remove __getslice__ method

9 years agoMerge pull request #200 from bastiak/remove-python-nightly-testing
Bob Halley [Sun, 18 Sep 2016 22:35:51 +0000 (15:35 -0700)] 
Merge pull request #200 from bastiak/remove-python-nightly-testing

Allow to fail testing with python-nightly

9 years agoTry to shut up Travis. 202/head
Fred Morris [Sun, 18 Sep 2016 15:42:55 +0000 (08:42 -0700)] 
Try to shut up Travis.

9 years agoTruthiness of Answers
Fred Morris [Sat, 17 Sep 2016 22:54:28 +0000 (15:54 -0700)] 
Truthiness of Answers

Internally it was failing, because the rrset is None and the __len__ method was being invoked and not checking for that.

9 years agoTests for empty answers
Fred Morris [Sat, 17 Sep 2016 22:51:33 +0000 (15:51 -0700)] 
Tests for empty answers

9 years agoAllow failures with python-nightly 200/head
Martin [Wed, 31 Aug 2016 20:47:43 +0000 (22:47 +0200)] 
Allow failures with python-nightly

This is devel branch of python and it may produce many false
positive errors

9 years agoPylint: remove unused variables 197/head
Martin [Tue, 2 Aug 2016 21:26:49 +0000 (23:26 +0200)] 
Pylint: remove unused variables

This commit removes some unused variables (except those in iterations, list comprehensions and used for unpacking)

9 years agopylint: enable check for trailing newlines
Martin [Tue, 2 Aug 2016 20:40:40 +0000 (22:40 +0200)] 
pylint: enable check for trailing newlines

9 years agoPylint: remove bare excepts
Martin [Tue, 2 Aug 2016 20:37:00 +0000 (22:37 +0200)] 
Pylint: remove bare excepts

Bare excepts should not be used, because they may hide system exceptions such as KeyboardInterupts or SystemExits.

9 years agoPylint: attributes should be defined in init
Martin [Tue, 2 Aug 2016 20:20:37 +0000 (22:20 +0200)] 
Pylint: attributes should be defined in init

9 years agoAdd zone.to_file tests 188/head
Martin [Wed, 31 Aug 2016 18:12:14 +0000 (20:12 +0200)] 
Add zone.to_file tests

Test covers both binary and textual mode for files and streams

9 years agoFix encoding errors zone.to_file()
Martin [Sun, 3 Jul 2016 00:25:19 +0000 (02:25 +0200)] 
Fix encoding errors zone.to_file()

From the code it looks like the only 'wb' mode is supported after migration to py3.
I fixed py3 with 'wb'. Both textual and binary modes should be supported now.

9 years agoREADME: Fix markdown finally 190/head
Sebastian Wagner [Fri, 5 Aug 2016 15:15:17 +0000 (17:15 +0200)] 
README: Fix markdown finally

Signed-off-by: Sebastian Wagner <sebix@sebix.at>
9 years agoREADME fixes based on feedback on PR#190
Sebastian Wagner [Fri, 5 Aug 2016 14:37:31 +0000 (16:37 +0200)] 
README fixes based on feedback on PR#190

Signed-off-by: Sebastian Wagner <sebix@sebix.at>
9 years agoPy3: remove __getslice__ method 196/head
Martin Basti [Tue, 2 Aug 2016 19:21:27 +0000 (21:21 +0200)] 
Py3: remove __getslice__ method

__getslice__ is deprecated in py2 and it is not used in py3 at all.
Instead of this __getitem__ with slice() index should be used.

Please note that WireData class must still use __getslice__, because it
inherites from 'binary_type' class that has implemented __getslice__
thus this method has to be overriden in WireData class.

9 years agoMerge pull request #198 from bastiak/members-fixes
Bob Halley [Thu, 4 Aug 2016 13:23:59 +0000 (06:23 -0700)] 
Merge pull request #198 from bastiak/members-fixes

Members fixes

9 years agoUse random.SystemRandom when available.
Bob Halley [Thu, 4 Aug 2016 13:03:31 +0000 (06:03 -0700)] 
Use random.SystemRandom when available.

9 years agoMerge pull request #194 from avylove/entropy_a
Bob Halley [Thu, 4 Aug 2016 12:58:22 +0000 (05:58 -0700)] 
Merge pull request #194 from avylove/entropy_a

Reseed entropy pool after forking

10 years agoPylint: make pylint happy with exceptions 198/head
Martin [Tue, 2 Aug 2016 22:07:13 +0000 (00:07 +0200)] 
Pylint: make pylint happy with exceptions

10 years agoFix parent definition of BaseResolverTests class
Martin [Tue, 2 Aug 2016 21:47:04 +0000 (23:47 +0200)] 
Fix parent definition of BaseResolverTests class

This class needs to have parent 'unittest.TestCase' otherwise test is not executed.

With this commit, BaseResolverTests are executed (number of tests increased, yay)

10 years agoReseed entropy pool after forking 194/head
Avram Lubkin [Tue, 26 Jul 2016 14:11:10 +0000 (10:11 -0400)] 
Reseed entropy pool after forking

10 years agoMerge pull request #191 from pspacek/master
Bob Halley [Tue, 12 Jul 2016 13:05:35 +0000 (06:05 -0700)] 
Merge pull request #191 from pspacek/master

Add method to force re-read resolv.conf: resolver.reset_default_resolver()

10 years agoBuild: run pylint as part of test/check make target 193/head
Petr Spacek [Tue, 12 Jul 2016 12:46:52 +0000 (14:46 +0200)] 
Build: run pylint as part of test/check make target

10 years agoPylint: use multiple CPU cores to speed-up
Petr Spacek [Tue, 12 Jul 2016 12:45:45 +0000 (14:45 +0200)] 
Pylint: use multiple CPU cores to speed-up

10 years agoAdd method to force re-read resolv.conf: resolver.reset_default_resolver() 191/head
Petr Spacek [Thu, 7 Jul 2016 14:36:13 +0000 (16:36 +0200)] 
Add method to force re-read resolv.conf: resolver.reset_default_resolver()

10 years agodo not complain about trailing newlines
Bob Halley [Sat, 9 Jul 2016 14:17:42 +0000 (07:17 -0700)] 
do not complain about trailing newlines

10 years agoMerge pull request #189 from sebix/dnssecimport
Bob Halley [Fri, 8 Jul 2016 12:51:10 +0000 (05:51 -0700)] 
Merge pull request #189 from sebix/dnssecimport

Style fixes in tests/test_dnssec

10 years agodoc: we dont read /etc/hosts
Sebastian Wagner [Sun, 3 Jul 2016 09:05:00 +0000 (11:05 +0200)] 
doc: we dont read /etc/hosts

closes #149

Signed-off-by: Sebastian Wagner <sebix@sebix.at>
10 years agodoc: readme: fix whitespaces and markup
Sebastian Wagner [Sun, 3 Jul 2016 09:31:12 +0000 (11:31 +0200)] 
doc: readme: fix whitespaces and markup

add links to packages

Signed-off-by: Sebastian Wagner <sebix@sebix.at>
10 years agostyle: dnssec tests: import at top, cleaner skip 189/head
Sebastian Wagner [Sun, 3 Jul 2016 08:51:07 +0000 (10:51 +0200)] 
style: dnssec tests: import at top, cleaner skip

Signed-off-by: Sebastian Wagner <sebix@sebix.at>
10 years agoMerge pull request #187 from bastiak/pylint-round
Bob Halley [Sat, 2 Jul 2016 22:31:42 +0000 (15:31 -0700)] 
Merge pull request #187 from bastiak/pylint-round

Py3: round compatible with py2

10 years agoPy3: round compatible with py2 187/head
Martin [Sat, 2 Jul 2016 22:12:14 +0000 (00:12 +0200)] 
Py3: round compatible with py2

Python 3 and Python 2 uses different rounding strategies in round().
Function round_py2_compat() do rounding in py2 compatible strategy for both py2 and py3

10 years agoMerge pull request #177 from cdeccio/testNameFix
Bob Halley [Sat, 2 Jul 2016 21:36:50 +0000 (14:36 -0700)] 
Merge pull request #177 from cdeccio/testNameFix

Use meaningful test

10 years agoMerge pull request #176 from cdeccio/fixRootNameText
Bob Halley [Sat, 2 Jul 2016 21:36:43 +0000 (14:36 -0700)] 
Merge pull request #176 from cdeccio/fixRootNameText

Fix dns.name.Name.to_text()

10 years agoMerge pull request #186 from bastiak/pylint-iter
Bob Halley [Sat, 2 Jul 2016 21:36:05 +0000 (14:36 -0700)] 
Merge pull request #186 from bastiak/pylint-iter

Py3: do not use iter* methods with dict

10 years agoMerge pull request #185 from bastiak/pylint
Bob Halley [Sat, 2 Jul 2016 21:35:56 +0000 (14:35 -0700)] 
Merge pull request #185 from bastiak/pylint

Pylint: tests, examples

10 years agoMerge pull request #184 from waldyrious/patch-1
Bob Halley [Sat, 2 Jul 2016 21:34:45 +0000 (14:34 -0700)] 
Merge pull request #184 from waldyrious/patch-1

add license title

10 years agoPy3: do not use iter* methods with dict 186/head
Martin [Sat, 2 Jul 2016 21:12:56 +0000 (23:12 +0200)] 
Py3: do not use iter* methods with dict

10 years agoPylint: examples: py3 replace deprecated optparse with argparse 185/head
Martin [Sat, 2 Jul 2016 20:51:42 +0000 (22:51 +0200)] 
Pylint: examples: py3 replace deprecated optparse with argparse

10 years agoPylint: examples: enable pylint for examples/*.py
Martin [Sat, 2 Jul 2016 20:39:44 +0000 (22:39 +0200)] 
Pylint: examples: enable pylint for examples/*.py

10 years agoPylint: examples: fix redefined sys from outer scope error
Martin [Sat, 2 Jul 2016 20:38:16 +0000 (22:38 +0200)] 
Pylint: examples: fix redefined sys from outer scope error

This was more false positive than actual error, but I replaced sys.exit() by SystemExit exception  rather than disabling check there

10 years agoPylint: examples: fix basestring is not in py3
Martin [Sat, 2 Jul 2016 20:35:31 +0000 (22:35 +0200)] 
Pylint: examples: fix basestring is not in py3

10 years agoPylint: examples: fix extremenly long lines
Martin [Sat, 2 Jul 2016 20:30:23 +0000 (22:30 +0200)] 
Pylint: examples: fix extremenly long lines

10 years agoPylint: examples: fix redefined variables from outer scope
Martin [Sat, 2 Jul 2016 20:22:56 +0000 (22:22 +0200)] 
Pylint: examples: fix redefined variables from outer scope

10 years agoPylint: examples: cmp builtin is not in py3
Martin [Sat, 2 Jul 2016 20:22:20 +0000 (22:22 +0200)] 
Pylint: examples: cmp builtin is not in py3

10 years agoPylint: examples: fix singleton comparison
Martin [Sat, 2 Jul 2016 01:37:33 +0000 (03:37 +0200)] 
Pylint: examples: fix singleton comparison

10 years agoPylint: examples: fix whitespace errors
Martin [Sat, 2 Jul 2016 01:36:24 +0000 (03:36 +0200)] 
Pylint: examples: fix whitespace errors

10 years agoPylint: examples: do py2/3 compatible prints
Martin [Sat, 2 Jul 2016 01:28:47 +0000 (03:28 +0200)] 
Pylint: examples: do py2/3 compatible prints

10 years agoPylint: enable check for tests
Martin [Sat, 2 Jul 2016 01:11:11 +0000 (03:11 +0200)] 
Pylint: enable check for tests

10 years agoPylint: tests: disable check broad-except locally in resolver test
Martin [Sat, 2 Jul 2016 01:10:51 +0000 (03:10 +0200)] 
Pylint: tests: disable check broad-except locally in resolver test

10 years agoPy3: fix tests
Martin [Sat, 2 Jul 2016 01:17:28 +0000 (03:17 +0200)] 
Py3: fix tests

10 years agoFix grange.from_text()
Martin [Sat, 2 Jul 2016 01:00:14 +0000 (03:00 +0200)] 
Fix grange.from_text()

Would be possible to use regexp instead?

Fixing this error from tests:

======================================================================
ERROR: testFailFromText2 (test_grange.GRangeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "~/dnspython/tests/test_grange.py", line 81, in testFailFromText2
    self.assertRaises(dns.exception.SyntaxError, bad)
  File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertRaises
    callableObj(*args, **kwargs)
  File "~/dnspython/tests/test_grange.py", line 80, in bad
    dns.grange.from_text('%s-%d/%d' % (start, stop, step))
  File "~/dnspython/dns/grange.py", line 39, in from_text
    start = int(cur)
ValueError: invalid literal for int() with base 10: ''