<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/test, branch dbus-python-1.0.0</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>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>
<entry>
<title>Fix the match rule semantics so that a match rule of "arg0='/'" does not match</title>
<updated>2011-12-16T00:37:23+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-16T00:37:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=ef05d294e85978cf96a86535321cf914b605fa48'/>
<id>ef05d294e85978cf96a86535321cf914b605fa48</id>
<content type='text'>
object paths in Python3, as per Simon's review comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
object paths in Python3, as per Simon's review comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>- Added back the missing PY3PORT.rst file, with updates.</title>
<updated>2011-12-15T21:50:02+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-15T21:50:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=f2909c23abc4f8fa55d71673785f8e70a843f6ce'/>
<id>f2909c23abc4f8fa55d71673785f8e70a843f6ce</id>
<content type='text'>
- Disallow appending unicode objects with 'y' (bytes) signatures.  This now
  requires either a bytes object or an integer.  Update the tests to reflect
- this change.
- Fix broken __all__ in Python 3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Disallow appending unicode objects with 'y' (bytes) signatures.  This now
  requires either a bytes object or an integer.  Update the tests to reflect
- this change.
- Fix broken __all__ in Python 3.
</pre>
</div>
</content>
</entry>
<entry>
<title>This is the big one; it adds Python 3 support.</title>
<updated>2011-12-15T11:57:21+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-15T11:57:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=4c1c2eade1c5b383adad94a7a4fd6553873fecf0'/>
<id>4c1c2eade1c5b383adad94a7a4fd6553873fecf0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>First round of PyInt -&gt; PyLong changes.  These are only compatible with Python</title>
<updated>2011-12-14T20:05:16+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-14T20:05:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=667082d0b4aef9c438a2e7fec89614b5b8ef960a'/>
<id>667082d0b4aef9c438a2e7fec89614b5b8ef960a</id>
<content type='text'>
2, since there are still some unconditional PyInt calls, which are not valid
in Python 3.  However, it lays the framework for conditionalizing on Python 3
and using only PyLong in that case.  Where it doesn't matter, PyLong is used
unconditionally.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2, since there are still some unconditional PyInt calls, which are not valid
in Python 3.  However, it lays the framework for conditionalizing on Python 3
and using only PyLong in that case.  Where it doesn't matter, PyLong is used
unconditionally.
</pre>
</div>
</content>
</entry>
</feed>
