lp:~barry/python-dbus/py3
- Get this branch:
- bzr branch lp:~barry/python-dbus/py3
Branch merges
Branch information
Recent revisions
- 113. By Barry Warsaw
-
dbus_py_
parse_bytes( ): The way PyArg_Parse() was used before, the %z option
allowed for None to be passed in. The semantics of this in Python is that in
that case the pointer is set to NULL, but no error condition occurs. Mimic
that to get the cross-tests to pass under Python 2.6 and 2.7. - 108. By Barry Warsaw
-
- Restore _StrBase being a bytes subclass under Python 2.
- _message_iter_get_ pyobject( ): Check a possible error condition. - 107. By Barry Warsaw
-
- Make reprs portable between Python 2 and 3 by using a clever hack in the
PyUnicode_FromFormat %V code. - 106. By Barry Warsaw
-
Repair the Python 2.x build:
* PyUnicode_
InternFromStrin g doesn't exist in Python 2.
* Fix Byte_new() for the PyInt_Check() case.
* Connection_list_exported_ child_objects( ): path_arg only exists in Python 3.
* int.c: fix base classes with a macro that does the right thing.
* _message_iter_get_ pyobject( ): The y# code only exists in Python 3.
* In Python 2, we need to include longintrepr.h to subclass from PyLongs.
* Metaclass use cannot be made to work in Python 2 and 3 directly. We have to
exec() a string, but fortunately, that string is small enough that it isn't
totally horrible.
* Fix some tests to work in both versions.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)