| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Consistently use the str type for identifier-like (ASCII) strings | Simon McVittie | 2012-01-11 | 1 | -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 Warsaw | 2011-12-15 | 1 | -10/+30 |
| | | |||||
| * | In preparation for Python 3 support, use the Python 2 PyBytes aliases for the | Barry Warsaw | 2011-12-14 | 1 | -3/+3 |
| | | | | | | PyString API. This makes the code compilable in Python 2.x (x >= 6) and Python 3. | ||||
| * | For pendantic correctness, and future Python 3 compatibility, explicitly | Barry Warsaw | 2011-12-13 | 1 | -0/+1 |
| | | | | | initialize the weaklist slots. | ||||
| * | Don't leak the fast_seq object. | Barry Warsaw | 2011-12-13 | 1 | -1/+4 |
| | | |||||
| * | Additional PyObject_HEAD_INIT -> PyVarObject_HEAD_INIT changes in preparation | Barry Warsaw | 2011-12-13 | 1 | -2/+1 |
| | | | | | for Python 3 support. | ||||
| * | Use Py_TYPE() rather than thing->ob_type, for Python 3 portability | Simon McVittie | 2011-12-13 | 1 | -1/+1 |
| | | | | | | | Based on part of a patch from Barry Warsaw. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | ||||
| * | fd.o #23831: make sure to ref types passed to PyModule_AddObject | Simon McVittie | 2010-12-02 | 1 | -0/+2 |
| | | | | | | | | 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. | ||||
| * | Use Py_CLEAR for greater robustness | Simon McVittie | 2010-12-02 | 1 | -9/+9 |
| | | |||||
| * | DbusPyServer: construct connections by calling the type, so the object will ↵ | Simon McVittie | 2008-07-15 | 1 | -8/+20 |
| | | | | | be fully initialized | ||||
| * | Actually create objects of class Server->conn_class | Simon McVittie | 2008-07-14 | 1 | -3/+4 |
| | | |||||
| * | Rename _dbus_bindings.Server to _dbus_bindings._Server | Simon McVittie | 2008-07-14 | 1 | -4/+5 |
| | | |||||
| * | DBusPyServer: construct a user-specified subtype of Connection | Simon McVittie | 2008-07-14 | 1 | -7/+25 |
| | | |||||
| * | DBusPyServer initialization: remove some debugging printfs | Simon McVittie | 2008-07-14 | 1 | -5/+3 |
| | | |||||
| * | DBusPyServer get_address, get_id: correct docs, these return str not String | Simon McVittie | 2008-07-14 | 1 | -2/+2 |
| | | |||||
| * | DBusPyServer tp_dealloc: remove a stray debugging printf | Simon McVittie | 2008-07-14 | 1 | -1/+0 |
| | | |||||
| * | DBusPyServer: correctly unref the partially constructed DBusPyServer on errors | Simon McVittie | 2008-07-14 | 1 | -1/+2 |
| | | |||||
| * | DBusPyServer: correctly unref the weakref object on errors | Simon McVittie | 2008-07-14 | 1 | -1/+2 |
| | | |||||
| * | DBusPyServer: fix a typo | Simon McVittie | 2008-07-14 | 1 | -1/+1 |
| | | |||||
| * | DBusPyServer: Fix refcounting of the main loop | Simon McVittie | 2008-07-14 | 1 | -2/+4 |
| | | |||||
| * | DBusPyServer: if there's no main loop, throw an exception | Simon McVittie | 2008-07-14 | 1 | -1/+7 |
| | | | | | | The code starting at the "err" label assumes that an exception has been set already. | ||||
| * | Document that DBusPyServer_NewDBusServer consumes a reference to the server. | Simon McVittie | 2008-07-14 | 1 | -5/+9 |
| | | | | | Rename it to DBusPyServer_NewConsumingDBusServer to make this clearer. | ||||
| * | DBusPyServer: remove some stray debugging printfs | Simon McVittie | 2008-07-14 | 1 | -3/+0 |
| | | |||||
| * | DBusPyServer: refactor set_auth_mechanisms | Simon McVittie | 2008-07-14 | 1 | -23/+29 |
| | | | | | | | | | | * save a malloc * return a boolean * don't crash if the sequence isn't a sequence * don't coerce items to strings too hard (we only want to accept str or unicode, accepting FooObject and trying to use it as an authentication method "<FooObject at 0xdeadbeef>" would be silly) | ||||
| * | Initial support for DBusServer class (#14322). | Mathias Hasselmann | 2008-07-14 | 1 | -0/+535 |
