python: Fixes for Python 3 (RHBZ#750889).
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 2 Nov 2011 19:43:53 +0000 (19:43 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 9 Nov 2011 22:05:51 +0000 (22:05 +0000)
commita31bebe46fbf4fde1ab4f39ae349a6e9497fb706
tree2e9209817817ddca25421d1ff87de8858879e196
parenta936a9e1ed1fb89c6a9e05be70614337e9f62ca9
python: Fixes for Python 3 (RHBZ#750889).

These fixes allow libguestfs bindings to work with Python 3 (tested
with Python 3.2)

You can select which Python you compile against by doing:

  PYTHON=python ./configure && make && make check

or:

  PYTHON=python3 ./configure && make && make check
(cherry picked from commit 2116f79cbcd4605b4997931285f14dde1f72a992)
.gitignore
configure.ac
generator/generator_bindtests.ml
generator/generator_python.ml
python/guestfs-py-byhand.c