<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/_dbus_bindings/server.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>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>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>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>For pendantic correctness, and future Python 3 compatibility, explicitly</title>
<updated>2011-12-13T22:15:41+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-13T22:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=4477b6120240e186db8d86619f6da63faca296ba'/>
<id>4477b6120240e186db8d86619f6da63faca296ba</id>
<content type='text'>
initialize the weaklist slots.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
initialize the weaklist slots.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't leak the fast_seq object.</title>
<updated>2011-12-13T22:08:50+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-13T22:08:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=48abd4782f336de2d6dd228e58f86729778e26fb'/>
<id>48abd4782f336de2d6dd228e58f86729778e26fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>
<entry>
<title>DbusPyServer: construct connections by calling the type, so the object will be fully initialized</title>
<updated>2008-07-15T18:21:51+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2008-07-15T18:21:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=2f7e3865c5cae60769b98dac163802e224345fb9'/>
<id>2f7e3865c5cae60769b98dac163802e224345fb9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
