On Thu, Jul 18, 2013 at 02:13:59PM -0400, Dave Allan wrote:
libvirt python bindings are autogenerated for the most part.
The tool is inherited from libxml2. I have made the port of libxml2
to be python3 compatible for libxml2-1.9.1 back in April
http://xmlsoft.org/news.html
there have been a few subsequent patches to that port after 1.9.1
but it's mostly okay.
Of course the libxml2 patches won't apply 1-1 to libvirt but
the main parts should and i tripped on all the breakage left
by 2to3 so we should be able to do that without too much crazyness.
Someone contributed the equivalent for libxslt which uses the
same system, but I hadn't yet the time to review and process them.
I was somehow hoping to do those patches for libvirt but my plate
is fairly full ATM. I guess the core work based on my libxml2
set of patches should take me 2-3 full days (as in not doing anything
else !), since that wasn't looking urgent, I didn't try to arrange to
spend that time, yet...
libxml2 of course is compatible with python 2, back to 2.4 ...
Daniel
--
Daniel Veillard | Open Source and Standards, Red Hat
veillard(a)redhat.com | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | virtualization library
http://libvirt.org/