<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/test, branch dbus-python-1.1.1</title>
<subtitle>gitlab.freedesktop.org: dbus/dbus-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/'/>
<entry>
<title>fd.o #40817: validate UTF-8 according to the same rules as libdbus</title>
<updated>2012-06-25T16:01:51+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-06-25T16:01:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=f6066573d25508f5cbbc5c12254086d419bb8828'/>
<id>f6066573d25508f5cbbc5c12254086d419bb8828</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Py3: correctly guess the signature of ObjectPath(...) and Signature(...)</title>
<updated>2012-06-05T18:07:51+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-06-05T18:07:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=6ff89bf0d05a550cf1aff2053579fc1f0192cd97'/>
<id>6ff89bf0d05a550cf1aff2053579fc1f0192cd97</id>
<content type='text'>
Under Python 2, ObjectPath and Signature are subtypes of str (= bytes),
and the existing type-guessing worked.

The type-guessing code assumed that all unicode objects were just
strings, but that assumption became false in the Python 3 port:
ObjectPath and Signature are still subtypes of str, but str now means
unicode, not bytes.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=50740
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Under Python 2, ObjectPath and Signature are subtypes of str (= bytes),
and the existing type-guessing worked.

The type-guessing code assumed that all unicode objects were just
strings, but that assumption became false in the Python 3 port:
ObjectPath and Signature are still subtypes of str, but str now means
unicode, not bytes.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=50740
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename gobject_service (PyGI version) to gi_service</title>
<updated>2012-05-02T09:39:29+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-05-02T09:39:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=ba3f3ff253982c9ad3b5a33df5b120e5692c9d29'/>
<id>ba3f3ff253982c9ad3b5a33df5b120e5692c9d29</id>
<content type='text'>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
</pre>
</div>
</content>
</entry>
<entry>
<title>Put sockets for the regression tests in /tmp, not ${builddir}</title>
<updated>2012-02-29T13:35:24+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-02-29T13:35:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=c53788657c0cfbd038325e690e7097e31f5e8430'/>
<id>c53788657c0cfbd038325e690e7097e31f5e8430</id>
<content type='text'>
Some automated build systems (naming no Portage) have really long build
directories, which can cause dbus-python to hit the length limit for Unix
sockets' names.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46747
Signed-off-by: Simon McVittie &lt;simon.mcvittie@collabora.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some automated build systems (naming no Portage) have really long build
directories, which can cause dbus-python to hit the length limit for Unix
sockets' names.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46747
Signed-off-by: Simon McVittie &lt;simon.mcvittie@collabora.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Test behaviour of various Message methods</title>
<updated>2012-01-11T14:04:14+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-01-11T14:04:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=ae61078cc90917c20b14298aaec18e87e149d337'/>
<id>ae61078cc90917c20b14298aaec18e87e149d337</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not allow Byte(unicode(x)) (i.e. Byte(str(x)) in Python 3)</title>
<updated>2012-01-11T14:03:53+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-01-11T14:03:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=69342f86b0d036ca41a19363efaf4e8352837c24'/>
<id>69342f86b0d036ca41a19363efaf4e8352837c24</id>
<content type='text'>
Unicode strings aren't bytestrings, so there's no obvious meaning for
the byte value of a Unicode string of length 1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unicode strings aren't bytestrings, so there's no obvious meaning for
the byte value of a Unicode string of length 1.
</pre>
</div>
</content>
</entry>
<entry>
<title>Quash a few more deprecations.</title>
<updated>2011-12-17T17:09:57+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-17T17:09:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=9201d65b31305c8bef86ab072b7c33b197ede562'/>
<id>9201d65b31305c8bef86ab072b7c33b197ede562</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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://91.123.203.49/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>Re-enable the other tests, even though these still fail for me (b.f.o #43303).</title>
<updated>2011-12-16T16:15:01+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-16T16:15:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=2167b305db78b8345b0f5ea23bfa445fa7cfca4d'/>
<id>2167b305db78b8345b0f5ea23bfa445fa7cfca4d</id>
<content type='text'>
Fix another except syntax problem.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix another except syntax problem.
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-enable previously disabled test.</title>
<updated>2011-12-16T00:58:06+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-16T00:58:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=0c71d7dd6eb843a74931c714d6142921f1971f88'/>
<id>0c71d7dd6eb843a74931c714d6142921f1971f88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
