Attached is a preliminary patch implementing the python bindings for domain events, and
the EventImpl code.
This implements a python test app equivalent to the code in the C event-test app. Contrary
to what Daniel B originally suggested, I thought that the EventImpl would be useful to
expose for apps that are strictly using python, and not integrating with glib, or another
event loop. It also makes the test case easier to debug.
I have not marked this with [PATCH] in the subject, as I don't believe it is quite
complete.
I am still having a few issues with the Refcounting in the C code, and I think there is
still some cleanup code I haven't quite handled quite right.
That said - I would welcome some comments/suggestions on this thus far, to make sure
I'm not going off in a direction contrary to where you think I should be.
examples/domain-events/events-python/event-test.py | 187 ++++++++
python/generator.py | 8
python/libvir.c | 454 +++++++++++++++++++++
python/libvir.py | 20
python/libvirt_wrap.h | 27 +
python/types.c | 48 ++
6 files changed, 740 insertions(+), 4 deletions(-)