<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/dbus_bindings, branch dbus-python-1.2.14</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>abstract: Stringify float subclasses using float's repr</title>
<updated>2019-11-21T09:46:43+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-11-21T09:37:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=4dd9506dcca181b8b44963fbdccb1e3db8ea7938'/>
<id>4dd9506dcca181b8b44963fbdccb1e3db8ea7938</id>
<content type='text'>
Python 3.8 removes the tp_str for various built-in types, so we would
print Double values as their repr (for example dbus.Double(0.5)), which
is a regression. Print them as 0.5 instead.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 3.8 removes the tp_str for various built-in types, so we would
print Double values as their repr (for example dbus.Double(0.5)), which
is a regression. Print them as 0.5 instead.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>int: Ensure we stringify Booleans as 0 or 1</title>
<updated>2019-11-21T09:46:43+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-11-21T09:26:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=1f7002d8a2f4c7cfba9f10e1d771812dd91977b6'/>
<id>1f7002d8a2f4c7cfba9f10e1d771812dd91977b6</id>
<content type='text'>
Python 3.8 removes the tp_str for various built-in types, so we would
print Boolean values as their repr (for example dbus.Boolean(True)),
which is a regression. Print them as 0 or 1 instead, which was the
historical behaviour (arguably False or True would be better, but
that would be a behaviour change).

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 3.8 removes the tp_str for various built-in types, so we would
print Boolean values as their repr (for example dbus.Boolean(True)),
which is a regression. Print them as 0 or 1 instead, which was the
historical behaviour (arguably False or True would be better, but
that would be a behaviour change).

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>abstract: Stringify long subclasses using long's repr</title>
<updated>2019-11-21T09:46:04+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-11-21T09:45:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=1537eef58ed5b0b79f97407db8387f1c1ed63887'/>
<id>1537eef58ed5b0b79f97407db8387f1c1ed63887</id>
<content type='text'>
Python 3.8 removes the tp_str for various built-in types, so we would
print long-derived values as their repr (for example dbus.Int64(42)),
which is a regression. Print them as 42 instead.

Co-authored-by: matclab &lt;mathieu@clabaut.net&gt;
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
Fixes: https://gitlab.freedesktop.org/dbus/dbus-python/issues/31
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 3.8 removes the tp_str for various built-in types, so we would
print long-derived values as their repr (for example dbus.Int64(42)),
which is a regression. Print them as 42 instead.

Co-authored-by: matclab &lt;mathieu@clabaut.net&gt;
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
Fixes: https://gitlab.freedesktop.org/dbus/dbus-python/issues/31
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Consistently save/restore exception indicator when called from C code"</title>
<updated>2019-09-12T09:31:17+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-09-12T09:30:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=9f0730c4d71d0d04ee0ed7734bc5e836fb81c2d2'/>
<id>9f0730c4d71d0d04ee0ed7734bc5e836fb81c2d2</id>
<content type='text'>
Saving and restoring the exception indicator breaks users of dbus-python
that rely on being able to raise SystemExit (or call sys.exit()) from a
dbus-python method, such as libsecret's test suite.

This reverts commit dbc0f7ef463922c026f1183a07368aa61ffe98dc.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Saving and restoring the exception indicator breaks users of dbus-python
that rely on being able to raise SystemExit (or call sys.exit()) from a
dbus-python method, such as libsecret's test suite.

This reverts commit dbc0f7ef463922c026f1183a07368aa61ffe98dc.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently save/restore exception indicator when called from C code</title>
<updated>2019-09-02T13:42:58+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-09-02T13:41:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=dbc0f7ef463922c026f1183a07368aa61ffe98dc'/>
<id>dbc0f7ef463922c026f1183a07368aa61ffe98dc</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>TRACE: Fix NULL argument to format string</title>
<updated>2019-09-02T12:05:15+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-09-02T12:05:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=6a4e06167279c90be6c692612ceab39674589a4d'/>
<id>6a4e06167279c90be6c692612ceab39674589a4d</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>unixfd: Adjust docstring</title>
<updated>2019-09-02T11:29:40+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-09-02T11:29:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=0805994b1ccc3d94cc47d3072284d435aff44f5c'/>
<id>0805994b1ccc3d94cc47d3072284d435aff44f5c</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add variant_level to UnixFd type</title>
<updated>2019-08-30T17:29:41+00:00</updated>
<author>
<name>John Baublitz</name>
<email>jbaublitz@redhat.com</email>
</author>
<published>2019-08-30T17:29:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=a1bfa6136cd5414223b0b6ff60c69eb29133fcf1'/>
<id>a1bfa6136cd5414223b0b6ff60c69eb29133fcf1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence -Wcast-function-type with gcc 8</title>
<updated>2019-07-23T10:14:14+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-07-23T10:14:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=b24fd92dcaac567568641df0490acac334dd94c9'/>
<id>b24fd92dcaac567568641df0490acac334dd94c9</id>
<content type='text'>
Casting via void (*)(void) is the documented way to suppress this
warning. This is required because the CPython API treats function
pointers as generic, with flags to indicate different calling
conventions.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Casting via void (*)(void) is the documented way to suppress this
warning. This is required because the CPython API treats function
pointers as generic, with flags to indicate different calling
conventions.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't set deprecated tp_print to NULL on Python 3</title>
<updated>2019-07-15T14:51:05+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-07-15T13:11:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=ab408a3061c7aeaf9320968bd17b3ec812c1f810'/>
<id>ab408a3061c7aeaf9320968bd17b3ec812c1f810</id>
<content type='text'>
This has apparently never actually done anything in the Python 3
series.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has apparently never actually done anything in the Python 3
series.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
