<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/dbus/exceptions.py, branch dbus-python-1.1.1</title>
<subtitle>gitlab.freedesktop.org: dbus/dbus-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/'/>
<entry>
<title>More Python 3 porting, this time primarily to get test-client.py working.</title>
<updated>2011-12-16T22:07:07+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-16T22:07:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=f8dab5af0bef5d26a51df41a564a5285c16a9cb5'/>
<id>f8dab5af0bef5d26a51df41a564a5285c16a9cb5</id>
<content type='text'>
Changes include:

- DBusException.get_dbus_message(): In Python 3, the str of the exception will
  already be a unicode, so don't try to decode it unless it's a bytes object
  (a.k.a. 8-bit str in Python 2).
- gobject_service.py: Switch to pygi and rewrite the metaclass instantiation
  code to be portable between Python 2 and Python 3.
- run-test.sh: echo a few more useful environment variables
- test-client.py:
  - Globally replace deprecated assertEquals with assertEqual
  - Globally replace deprecated assert_ with assertTrue
  - Use bytes objects for both 'ay' signatured methods on the server
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - Reformat some long lines for debugging.
- test-service.py:
  - Open the log file in 'a' mode for easier tailing.
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - reformat some long lines for debugging.
  - Put module-scope code into a main() function and add a bunch of logger
    output for better debugging.  `session_bus` must still be global though.
    Wrap main() in a bit try/except to log all top-level exceptions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes include:

- DBusException.get_dbus_message(): In Python 3, the str of the exception will
  already be a unicode, so don't try to decode it unless it's a bytes object
  (a.k.a. 8-bit str in Python 2).
- gobject_service.py: Switch to pygi and rewrite the metaclass instantiation
  code to be portable between Python 2 and Python 3.
- run-test.sh: echo a few more useful environment variables
- test-client.py:
  - Globally replace deprecated assertEquals with assertEqual
  - Globally replace deprecated assert_ with assertTrue
  - Use bytes objects for both 'ay' signatured methods on the server
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - Reformat some long lines for debugging.
- test-service.py:
  - Open the log file in 'a' mode for easier tailing.
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - reformat some long lines for debugging.
  - Put module-scope code into a main() function and add a bunch of logger
    output for better debugging.  `session_bus` must still be global though.
    Wrap main() in a bit try/except to log all top-level exceptions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Omit the remote traceback from certain D-Bus errors</title>
<updated>2008-07-17T12:00:15+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2008-07-17T12:00:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=d1ded84e774c4aaad9bf02842e1898580dd599ea'/>
<id>d1ded84e774c4aaad9bf02842e1898580dd599ea</id>
<content type='text'>
Specifically, DBusException and its subclasses no longer have the remote
traceback by default (although subclasses can turn it back on again
by setting include_traceback = True, and the various "programmer error"
subclasses of DBusException do have this set).

Hopefully this will stop people thinking it's a dbus-python or
telepathy-python bug when a D-Bus API like Telepathy deliberately raises an
error (and so dbus-python or telepathy-python is visible in the traceback).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Specifically, DBusException and its subclasses no longer have the remote
traceback by default (although subclasses can turn it back on again
by setting include_traceback = True, and the various "programmer error"
subclasses of DBusException do have this set).

Hopefully this will stop people thinking it's a dbus-python or
telepathy-python bug when a D-Bus API like Telepathy deliberately raises an
error (and so dbus-python or telepathy-python is visible in the traceback).
</pre>
</div>
</content>
</entry>
<entry>
<title>dbus.exceptions.DBusException: allow setting _dbus_error_name in subclasses</title>
<updated>2007-09-27T17:13:42+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-09-27T17:13:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=05460fdecf77c56640c332d290a5950884f26769'/>
<id>05460fdecf77c56640c332d290a5950884f26769</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Relicense Collabora code under the MIT/X11 license proposed for dbus core, removing all references to the LGPL as a result</title>
<updated>2007-09-27T12:57:49+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-09-27T12:57:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=d8c154284ca464f493c81a4d3b5a37890d68acec'/>
<id>d8c154284ca464f493c81a4d3b5a37890d68acec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement DBusException in pure Python; add get_dbus_name() method and name= keyword argument</title>
<updated>2007-05-16T10:05:29+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-05-16T10:05:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=b052211a63cf833ac394ca529c344c288e921401'/>
<id>b052211a63cf833ac394ca529c344c288e921401</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Throughout dbus-python: Use the C implementation.</title>
<updated>2006-09-26T19:50:58+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@celebrin.pseudorandom.co.uk</email>
</author>
<published>2006-09-26T19:50:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=97d01a1d540e5ec31b752c31ad9f2b794eddf472'/>
<id>97d01a1d540e5ec31b752c31ad9f2b794eddf472</id>
<content type='text'>
Add document API_CHANGES.txt listing visible API changes.
Add more test cases, for low-level Python &lt;-&gt; D-Bus type mappings.
Amend existing test cases to cope with the API changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add document API_CHANGES.txt listing visible API changes.
Add more test cases, for low-level Python &lt;-&gt; D-Bus type mappings.
Amend existing test cases to cope with the API changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename dbus_bindings (sometimes a.k.a. dbus.dbus_bindings) to _dbus_bindings.</title>
<updated>2006-08-31T17:05:57+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@celebrin.(none)</email>
</author>
<published>2006-08-31T17:05:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=aac6f58ae96faab86e6080702d2dac2bd3a69d66'/>
<id>aac6f58ae96faab86e6080702d2dac2bd3a69d66</id>
<content type='text'>
Ditto for dbus_glib_bindings.
Remove dbus.pth - should no longer be needed after this change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ditto for dbus_glib_bindings.
Remove dbus.pth - should no longer be needed after this change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some docstrings (reStructuredText with epydoc annotations)</title>
<updated>2006-08-30T19:15:07+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@celebrin.(none)</email>
</author>
<published>2006-08-30T19:15:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=c51b148077479381844a84989292719417c543b2'/>
<id>c51b148077479381844a84989292719417c543b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move python/ to dbus/, the name of the module.</title>
<updated>2006-07-12T18:26:39+00:00</updated>
<author>
<name>Robert McQueen</name>
<email>robot101@thubuntu.(none)</email>
</author>
<published>2006-07-12T18:26:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=cc9eb8989a5782f62f8ca786d76e1267e48ec8bf'/>
<id>cc9eb8989a5782f62f8ca786d76e1267e48ec8bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
