<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/dnspython.git/dns/query.py, branch cache_stats</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>Disable coverage for BlockingIOError on udp send.</title>
<updated>2020-07-17T23:52:11+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-07-17T23:52:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=aff1fd0181f7c75c023f626aeef5ce0c380b1b5e'/>
<id>aff1fd0181f7c75c023f626aeef5ce0c380b1b5e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes to blocking model.</title>
<updated>2020-07-17T23:39:40+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-07-17T23:37:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=4c0fe5541e36e06fccf1a85028bc289d3070374e'/>
<id>4c0fe5541e36e06fccf1a85028bc289d3070374e</id>
<content type='text'>
Before this change, the synchronous code would check sockets for
readability or writability before doing nonblocking read or write.
This changes them to attempt the read or write first, and then block
if the operation could not complete.

This also removes the no-longer-needed getpeername() call in tcp(),
which was needed to deal with the case where an unconnected socket was
passed in; waiting for writability would block rather than immediately
return an error.  By attempting the write first, we get the error
immediately.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this change, the synchronous code would check sockets for
readability or writability before doing nonblocking read or write.
This changes them to attempt the read or write first, and then block
if the operation could not complete.

This also removes the no-longer-needed getpeername() call in tcp(),
which was needed to deal with the case where an unconnected socket was
passed in; waiting for writability would block rather than immediately
return an error.  By attempting the write first, we get the error
immediately.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the selectors module.</title>
<updated>2020-07-17T22:46:04+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-07-17T22:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=147924d0a433968c639f75630009eff8a872a4d3'/>
<id>147924d0a433968c639f75630009eff8a872a4d3</id>
<content type='text'>
Previously, there was code to either use select.select or select.poll,
depending on OS.  This changes it to use the selectors module, using
either SelectSelector or PollSelector, but sharing code otherwise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, there was code to either use select.select or select.poll,
depending on OS.  This changes it to use the selectors module, using
either SelectSelector or PollSelector, but sharing code otherwise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for receiving UDP queries.</title>
<updated>2020-07-08T22:15:31+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-07-08T22:11:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=7a5e59707b395454db2cb650371bbc2e800e7be4'/>
<id>7a5e59707b395454db2cb650371bbc2e800e7be4</id>
<content type='text'>
The existing receive_udp() methods are only usable for receiving
responses, as they require an expected destination and check that the
message is from that destination.

This change makes the expected destination (and hence the check)
optional, and returns the address that the message was received from (in
the sync case, this is only done if no destination is provided, for
backwards compatibility).

New tests are added, which required adding generic getsockname() support
to the async backends.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The existing receive_udp() methods are only usable for receiving
responses, as they require an expected destination and check that the
message is from that destination.

This change makes the expected destination (and hence the check)
optional, and returns the address that the message was received from (in
the sync case, this is only done if no destination is provided, for
backwards compatibility).

New tests are added, which required adding generic getsockname() support
to the async backends.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix return type docs for receive methods.</title>
<updated>2020-07-08T20:12:27+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-07-08T20:12:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=561104fb3445fbd10c3f27857aeb47eeb2b7717c'/>
<id>561104fb3445fbd10c3f27857aeb47eeb2b7717c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the concept from "first" from TSIG.</title>
<updated>2020-06-30T16:27:06+00:00</updated>
<author>
<name>Brian Wellington</name>
<email>bwelling@xbill.org</email>
</author>
<published>2020-06-30T16:27:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=bfdcb567502dcb1e4de443479547a2e26a4547f7'/>
<id>bfdcb567502dcb1e4de443479547a2e26a4547f7</id>
<content type='text'>
The sign() and validate() routines took a "first" parameter, which
indicated that this message was the first in a multi-message sequence.
This isn't needed, as it's identical to "not (ctx and multi)".

Remove the parameter from both, as well as the now-unneeded field in the
message object and message.from_wire() parameter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The sign() and validate() routines took a "first" parameter, which
indicated that this message was the first in a multi-message sequence.
This isn't needed, as it's identical to "not (ctx and multi)".

Remove the parameter from both, as well as the now-unneeded field in the
message object and message.from_wire() parameter.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use serial number arithmetic in IXFR.</title>
<updated>2020-06-27T22:34:29+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@play-bow.org</email>
</author>
<published>2020-06-27T22:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=f971636754beee85456b6cd6e5550e894e6aabd6'/>
<id>f971636754beee85456b6cd6e5550e894e6aabd6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>improve query coverage</title>
<updated>2020-06-18T16:00:30+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@dnspython.org</email>
</author>
<published>2020-06-18T16:00:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=bb87ef59022d3bd7df6db6be7de20c8ba6d60d6b'/>
<id>bb87ef59022d3bd7df6db6be7de20c8ba6d60d6b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>The dns.inet.AF_* portability scheme is no longer needed.</title>
<updated>2020-06-17T02:37:01+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@dnspython.org</email>
</author>
<published>2020-06-17T02:37:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=651592faa7d305edde5d47100e179246d83d2a79'/>
<id>651592faa7d305edde5d47100e179246d83d2a79</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>avoid unneeded coverage warnings</title>
<updated>2020-06-16T23:58:44+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@dnspython.org</email>
</author>
<published>2020-06-16T23:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=07b40cbbf4fd58a8e592c836ffbc2115d9f1cb69'/>
<id>07b40cbbf4fd58a8e592c836ffbc2115d9f1cb69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
