summaryrefslogtreecommitdiff
path: root/_dbus_bindings/exceptions.c
Commit message (Collapse)AuthorAgeFilesLines
* Consistently use the str type for identifier-like (ASCII) stringsSimon McVittie2012-01-111-2/+2
| | | | | | | | | | | | | | | | | 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).
* This is the big one; it adds Python 3 support.Barry Warsaw2011-12-151-2/+2
|
* In preparation for Python 3 support, use the Python 2 PyBytes aliases for theBarry Warsaw2011-12-141-2/+2
| | | | | PyString API. This makes the code compilable in Python 2.x (x >= 6) and Python 3.
* DBusPyException_ConsumeError: check whether the constructor failedSimon McVittie2010-12-021-0/+5
|
* Use Py_CLEAR for greater robustnessSimon McVittie2010-12-021-4/+4
|
* Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵Simon McVittie2007-09-271-15/+18
| | | | removing all references to the LGPL as a result
* Implement DBusException in pure Python; add get_dbus_name() method and name= ↵Simon McVittie2007-05-161-42/+57
| | | | keyword argument
* Actually commit the numerous copyright-statement changes.Simon McVittie2007-02-071-7/+7
|
* dbus, _dbus_bindings, _dbus_glib_bindings: remove accidentally duplicated ↵Simon McVittie2007-01-251-2/+0
| | | | lines in license statement
* Switch to autotools and test with Python 2.5 as well as 2.4.Simon McVittie2006-12-181-10/+29
| | | | | | | | | | | | | | In the process: HACKING.txt: update include/dbus-python.h: add some typedefs to make it saner bus.c, conn.c, conn-methods.c: further alter docstrings to keep epydoc happy exceptions.c: create exceptions in a more longwinded way for Python 2.5 compatibility message-get-args.c, bus/__init__.py: tweak docstrings dbus/introspect_parser.py: make docstring valid reStructuredText run-test.sh: simplify, since configure now does some of the work test/*.py: use paths from run-test.sh, cope with out-of-tree builds test-standalone.py: carry out additional sanity checks
* Split out exceptions, pending call, message into separate .c filesSimon McVittie2006-12-111-0/+64