<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/dnspython.git/dns/exception.py, branch python3</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>redirect to dnspython</title>
<updated>2016-09-20T12:45:34+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@play-bow.org</email>
</author>
<published>2016-09-20T12:45:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=34e2240a4b3a800331fd77c724bdca67d095a2bc'/>
<id>34e2240a4b3a800331fd77c724bdca67d095a2bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Return timeout duration as part of str(Timeout).</title>
<updated>2015-05-21T12:25:12+00:00</updated>
<author>
<name>Petr Spacek</name>
<email>pspacek@redhat.com</email>
</author>
<published>2015-03-19T17:02:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=33f4ef8257950891690af5b648c4e58b4850e0df'/>
<id>33f4ef8257950891690af5b648c4e58b4850e0df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Separate class docstring and default str() messages in DNSException.</title>
<updated>2015-05-21T12:25:12+00:00</updated>
<author>
<name>Petr Spacek</name>
<email>pspacek@redhat.com</email>
</author>
<published>2015-03-25T08:22:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=73544fe7ad500d792325fba01bebdedaf9f11f23'/>
<id>73544fe7ad500d792325fba01bebdedaf9f11f23</id>
<content type='text'>
str() for non-parametrized exceptions still defaults to class docstring
but now it is possible to simply override the message by defining
class.msg variable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
str() for non-parametrized exceptions still defaults to class docstring
but now it is possible to simply override the message by defining
class.msg variable.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add list pretty-printing for parametrized exceptions.</title>
<updated>2015-05-21T12:25:12+00:00</updated>
<author>
<name>Petr Spacek</name>
<email>pspacek@redhat.com</email>
</author>
<published>2015-03-20T14:55:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=0bda8c7d89079945c5873f87b8c45e9469a87d38'/>
<id>0bda8c7d89079945c5873f87b8c45e9469a87d38</id>
<content type='text'>
All list entries are converted to strings before the list is printed.
I.e. one-item list is printed as 'vm-123.idm.lab.eng.brq.redhat.com. IN NS'
instead [&lt;DNS vm-123.idm.lab.eng.brq.redhat.com. IN NS RRset&gt;].
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All list entries are converted to strings before the list is printed.
I.e. one-item list is printed as 'vm-123.idm.lab.eng.brq.redhat.com. IN NS'
instead [&lt;DNS vm-123.idm.lab.eng.brq.redhat.com. IN NS RRset&gt;].
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for parametrizable __str__ in DNSException.</title>
<updated>2015-05-21T12:25:12+00:00</updated>
<author>
<name>Petr Spacek</name>
<email>pspacek@redhat.com</email>
</author>
<published>2015-03-19T16:55:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=e6196f1e161348bc3a17b065f490afa6139b71c9'/>
<id>e6196f1e161348bc3a17b065f490afa6139b71c9</id>
<content type='text'>
This change makes __init__ and __str__ parametrization simpler
and keeps backward compatiblity with old code which does not use keyword
arguments in raise().

Parametrized __str__ can be implemented simply by defining "fmt" and
"supp_kwargs" class variables in particular exception class.

Doc string is used in cases where specific message parameters were not provided
during instantiation/raise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change makes __init__ and __str__ parametrization simpler
and keeps backward compatiblity with old code which does not use keyword
arguments in raise().

Parametrized __str__ can be implemented simply by defining "fmt" and
"supp_kwargs" class variables in particular exception class.

Doc string is used in cases where specific message parameters were not provided
during instantiation/raise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant 'pass' from class definitions.</title>
<updated>2015-02-12T11:38:31+00:00</updated>
<author>
<name>Petr Spacek</name>
<email>pspacek@redhat.com</email>
</author>
<published>2015-01-16T12:10:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=d9c524e65c324b5dbf8bef51bb3c193575d2325b'/>
<id>d9c524e65c324b5dbf8bef51bb3c193575d2325b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Amend doc strings for all DNSExceptions to make them suitable for direct printing.</title>
<updated>2015-02-12T11:38:31+00:00</updated>
<author>
<name>Petr Spacek</name>
<email>pspacek@redhat.com</email>
</author>
<published>2015-01-15T16:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=c34f16726386fecd62507b8c1bfa23770c18e3ec'/>
<id>c34f16726386fecd62507b8c1bfa23770c18e3ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support string representation for all DNSExceptions.</title>
<updated>2015-02-12T11:38:30+00:00</updated>
<author>
<name>Petr Spacek</name>
<email>pspacek@redhat.com</email>
</author>
<published>2015-01-15T16:25:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=6631d8e37fcb57aac45852ef311007139a8e4221'/>
<id>6631d8e37fcb57aac45852ef311007139a8e4221</id>
<content type='text'>
Doc string is used in cases where more specific message was not provided
during instantiation/raise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Doc string is used in cases where more specific message was not provided
during instantiation/raise.
</pre>
</div>
</content>
</entry>
<entry>
<title>update copyrights</title>
<updated>2011-05-12T14:48:55+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@nominum.com</email>
</author>
<published>2011-05-12T14:48:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=3a5ac7c1e0e2e52be8a1d1b0e41b8d29a264fc9d'/>
<id>3a5ac7c1e0e2e52be8a1d1b0e41b8d29a264fc9d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update copyrights for 2010</title>
<updated>2010-01-13T20:23:06+00:00</updated>
<author>
<name>Bob Halley</name>
<email>halley@nominum.com</email>
</author>
<published>2010-01-13T20:23:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/dnspython.git/commit/?id=c83bcf4ed00542c63b57be8f525af1c52e149c45'/>
<id>c83bcf4ed00542c63b57be8f525af1c52e149c45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
