<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/dnspython.git/dns/name.py, branch processing_order_fix</title>
<subtitle>github.com: rthalley/dnspython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/'/>
<entry>
<title>make name and rdata use the immutable decorator</title>
<updated>2020-08-19T12:30:30+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@dnspython.org</email>
</author>
<published>2020-08-19T12:30:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=bee23ec15fdde8f0303b0a3699669599c5abf8cb'/>
<id>bee23ec15fdde8f0303b0a3699669599c5abf8cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pylint linting</title>
<updated>2020-07-31T23:03:09+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@dnspython.org</email>
</author>
<published>2020-07-31T23:03:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=049eedd8ab25f211d0fcd88726098327cc27ddb2'/>
<id>049eedd8ab25f211d0fcd88726098327cc27ddb2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve name coverage slightly by testing the uts_46 branch in 2008 decode.</title>
<updated>2020-07-23T13:33:27+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@dnspython.org</email>
</author>
<published>2020-07-23T13:33:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=16417623fb9221a978e67b62865a65acdb716d20'/>
<id>16417623fb9221a978e67b62865a65acdb716d20</id>
<content type='text'>
I'm not sure how useful in practice this is, as we don't offer a codec
configuration default for it, but I'm not sure you'd never do it, and the
existing code was in the wrong order.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm not sure how useful in practice this is, as we don't offer a codec
configuration default for it, but I'm not sure you'd never do it, and the
existing code was in the wrong order.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove code in _escapify() that can never run.</title>
<updated>2020-07-03T21:58:18+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@dnspython.org</email>
</author>
<published>2020-07-03T21:58:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=b918610e4fc30a694eb78a6d8a856412d19a6087'/>
<id>b918610e4fc30a694eb78a6d8a856412d19a6087</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework wire format processing.</title>
<updated>2020-07-02T22:11:08+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@play-bow.org</email>
</author>
<published>2020-07-02T15:23:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=8335194878d419c9698b33ea3d269068387b245d'/>
<id>8335194878d419c9698b33ea3d269068387b245d</id>
<content type='text'>
Wire format data is now done via a dns.wire.Parser, which does all of the
bookkeeping and also provides convenience routines (e.g. get_uint16() or
get_name()).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wire format data is now done via a dns.wire.Parser, which does all of the
bookkeeping and also provides convenience routines (e.g. get_uint16() or
get_name()).
</pre>
</div>
</content>
</entry>
<entry>
<title>add/adjust some no cover pragmas; fix missing catch of UnicodeError</title>
<updated>2020-06-30T15:24:33+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@play-bow.org</email>
</author>
<published>2020-06-30T15:24:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=2545364012b04ce3341482071067ec854487210f'/>
<id>2545364012b04ce3341482071067ec854487210f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>we did not check label-too-long in a few text cases</title>
<updated>2020-06-19T18:13:49+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@dnspython.org</email>
</author>
<published>2020-06-19T18:13:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=9f977ee5a71e76d20e74751f34798ab3adb5df90'/>
<id>9f977ee5a71e76d20e74751f34798ab3adb5df90</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor Python 3 cleanups.</title>
<updated>2020-06-03T22:56:58+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-06-03T22:56:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=cc55d17f5478751da21a7b325b2b46e8d94d8ffb'/>
<id>cc55d17f5478751da21a7b325b2b46e8d94d8ffb</id>
<content type='text'>
Classes inherit from object by default; there's no need to explicitly
include this.

Replace super(Foo, self) with super().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Classes inherit from object by default; there's no need to explicitly
include this.

Replace super(Foo, self) with super().
</pre>
</div>
</content>
</entry>
<entry>
<title>Improvements to dns.rdata.to_wire().</title>
<updated>2020-06-01T18:32:03+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-06-01T18:32:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=c6c0041169f4888ffd96e7ca3d69c8ed351b8cb0'/>
<id>c6c0041169f4888ffd96e7ca3d69c8ed351b8cb0</id>
<content type='text'>
This does two things.

1) Makes the file parameter optional, removing the requirement that
callers create an io.BytesIO object if all they want is the bytes.  This
is done by renaming all of the rdata subclass to_wire() methods to
_to_wire(), and making dns.rdata.to_wire() create the io.BytesIO
internally if needed, and then delegate to the subclass.

2) Add canonicalize=False parameter, allowing code reuse for conversion
to wire format and conversion to hashable format.  This also removes all
of the rdata subclass to_digestable routines that are no longer needed,
as dns.rdata.to_digestable will work for all rdata types.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This does two things.

1) Makes the file parameter optional, removing the requirement that
callers create an io.BytesIO object if all they want is the bytes.  This
is done by renaming all of the rdata subclass to_wire() methods to
_to_wire(), and making dns.rdata.to_wire() create the io.BytesIO
internally if needed, and then delegate to the subclass.

2) Add canonicalize=False parameter, allowing code reuse for conversion
to wire format and conversion to hashable format.  This also removes all
of the rdata subclass to_digestable routines that are no longer needed,
as dns.rdata.to_digestable will work for all rdata types.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove hash value truncation.</title>
<updated>2020-05-20T22:23:28+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-05-20T22:23:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=119e324f668c8d3ca63bb9fadfe151ee673a3645'/>
<id>119e324f668c8d3ca63bb9fadfe151ee673a3645</id>
<content type='text'>
There's no need to truncate the result of __hash__(); the runtime will
already truncate it to sys.hash_info.width.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no need to truncate the result of __hash__(); the runtime will
already truncate it to sys.hash_info.width.
</pre>
</div>
</content>
</entry>
</feed>
