<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/_dbus_bindings/message.c, 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>Use native 'int' (whatever that means) for variant_level etc.</title>
<updated>2012-01-11T15:03:08+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-01-11T15:01:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=4f043cf34a8001c071644eb8c89dc7d43e86b62a'/>
<id>4f043cf34a8001c071644eb8c89dc7d43e86b62a</id>
<content type='text'>
This reverts the Python 2 API to be in terms of PyInt, leaving the
Python 3 API in terms of PyLong (which is called 'int' in Python code).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts the Python 2 API to be in terms of PyInt, leaving the
Python 3 API in terms of PyLong (which is called 'int' in Python code).
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently use the str type for identifier-like (ASCII) strings</title>
<updated>2012-01-11T12:57:15+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-01-11T12:57:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=beaa479066a0139bbb09f058818cd5476f1a79d2'/>
<id>beaa479066a0139bbb09f058818cd5476f1a79d2</id>
<content type='text'>
Porting to Python 3 left these methods returning unicode, which is
arguably an API break in Python 2:

* Message.get_member
* Message.get_path_decomposed (array of unicode)
* Message.get_sender
* Message.get_destination
* Message.get_interface
* Message.get_error_name
* Server.get_address
* Server.get_id

Instead, make them return whatever the natural str type is (bytes in
Python 2, unicode in Python 3).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Porting to Python 3 left these methods returning unicode, which is
arguably an API break in Python 2:

* Message.get_member
* Message.get_path_decomposed (array of unicode)
* Message.get_sender
* Message.get_destination
* Message.get_interface
* Message.get_error_name
* Server.get_address
* Server.get_id

Instead, make them return whatever the natural str type is (bytes in
Python 2, unicode in Python 3).
</pre>
</div>
</content>
</entry>
<entry>
<title>SignalMessage.__repr__: include the destination and abbreviate "interface" more conventionally</title>
<updated>2012-01-11T12:50:43+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-01-11T12:50:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=0daad225ff9085c4013da69e5733e8846e9b8de3'/>
<id>0daad225ff9085c4013da69e5733e8846e9b8de3</id>
<content type='text'>
Yes, signals can have a destination. The default is to broadcast.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Yes, signals can have a destination. The default is to broadcast.
</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>
<entry>
<title>In preparation for Python 3 support, use the Python 2 PyBytes aliases for the</title>
<updated>2011-12-14T18:36:39+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-14T18:36:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=71f4481c1876785572170ef68d5624ed23f91333'/>
<id>71f4481c1876785572170ef68d5624ed23f91333</id>
<content type='text'>
PyString API.  This makes the code compilable in Python 2.x (x &gt;= 6) and
Python 3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyString API.  This makes the code compilable in Python 2.x (x &gt;= 6) and
Python 3.
</pre>
</div>
</content>
</entry>
<entry>
<title>Additional PyObject_HEAD_INIT -&gt; PyVarObject_HEAD_INIT changes in preparation</title>
<updated>2011-12-13T21:21:04+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-13T21:21:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=4a26dab362e8ddd7a765f1249649408f62eb96e7'/>
<id>4a26dab362e8ddd7a765f1249649408f62eb96e7</id>
<content type='text'>
for Python 3 support.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for Python 3 support.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Py_TYPE() rather than thing-&gt;ob_type, for Python 3 portability</title>
<updated>2011-12-13T11:38:48+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2011-12-13T11:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=ebd44a420264da0031b715f7f08a0b347a81dd30'/>
<id>ebd44a420264da0031b715f7f08a0b347a81dd30</id>
<content type='text'>
Based on part of a patch from Barry Warsaw.

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>
Based on part of a patch from Barry Warsaw.

Signed-off-by: Simon McVittie &lt;simon.mcvittie@collabora.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fd.o #23831: make sure to ref types passed to PyModule_AddObject</title>
<updated>2010-12-02T17:27:34+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@debian.org</email>
</author>
<published>2010-12-02T17:27:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=d3f57baf2a9e5e26e2365313abd2890239b6572a'/>
<id>d3f57baf2a9e5e26e2365313abd2890239b6572a</id>
<content type='text'>
This avoids these static types wrongly being deallocated. Python
implements static types as having one initial reference, which is never
meant to be released, but if you get your refcounting wrong they'll be
"deallocated" (causing a crash) during Py_Finalize.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids these static types wrongly being deallocated. Python
implements static types as having one initial reference, which is never
meant to be released, but if you get your refcounting wrong they'll be
"deallocated" (causing a crash) during Py_Finalize.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Py_CLEAR for greater robustness</title>
<updated>2010-12-02T16:31:07+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@debian.org</email>
</author>
<published>2010-12-02T16:31:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=56ad64cd14e52b479489549f76343f19e3842139'/>
<id>56ad64cd14e52b479489549f76343f19e3842139</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
