| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
This file includes <Python.h>, with some #defines that affect the
interpretation of the Python headers (PY_SSIZE_T_CLEAN, PY_SIZE_T_CLEAN).
In particular, <Python.h> transitively includes pyconfig.h, which
defines _GNU_SOURCE, altering the version of struct stat used;
this is potentially a problem if a struct stat is shared between
files, although in practice we don't do that.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749133
|
| |
|
|
|
| |
If we don't find it, continue to reinvent it, but move the reinvention
to an internal header so it's at least the same in both files that want it.
|
| |
|
|
|
| |
This reverts the Python 2 API to be in terms of PyInt, leaving the
Python 3 API in terms of PyLong (which is called 'int' in Python code).
|
| | |
|
| |
|
|
|
|
|
| |
2, since there are still some unconditional PyInt calls, which are not valid
in Python 3. However, it lays the framework for conditionalizing on Python 3
and using only PyLong in that case. Where it doesn't matter, PyLong is used
unconditionally.
|
| |
|
|
|
|
| |
Based on part of a patch from Barry Warsaw.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
|
| |
|
|
|
|
| |
Based on part of a patch from Barry Warsaw.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
|
| | |
|
| |
|
|
|
|
|
|
| |
Elvis agreed that this shouldn't differ from our handling of objects with
a fileno().
This means that _message_iter_get_pyobject does need to close the fd
itself, so do that.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
For some reason libdbus gives us NULL instead of a pointer to a
zero-length object (i.e. any random place in the message would do), which
Py_BuildValue doesn't interpret the way we'd want it to.
|
| |
|
|
| |
removing all references to the LGPL as a result
|
| | |
|
| |
|
|
| |
objects
|
| |
|
|
| |
lines in license statement
|
| |
|
|
| |
64-bit archs
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
debugging other things, they're too verbose
|
| |
|
|
| |
parentheses around arguments
|
|
|
validation into separate translation units - no *-impl.h remaining
|