python: disable libxl bindings
RFC PATCH 1/1 python: disable libxl bindings
# HG changeset patch
# User Ian Campbell <[email protected]> # Date 1343208142 -3600
# Node ID 7e2eec98b2835d490acadec711d751799843f014 # Parent 9ff37d4565de26bbc6b0771405d413020cbf4d47
python: disable libxl bindings
They are rather incomplete and have no users or maintainer. Many of the functions which do exsit raise a NotImplemented exception. Disable them so that users of the 4.2 release aren't confused into trying to use them.
This only does the minimal to disable them and makes it easy to locally reenable if anyone wants to hack these into shape in the future. Alternatively we could just nuke the lot and if/when someone wants to resurrect them they can find them in the VCS history.
tools/python/setup.py +2 -1
@@ -88,7 +88,8 @@ xl = Extension("xl", sources = [ "xen/lowlevel/xl/xl.c", "xen/lowlevel/xl/_pyxl_types.c" ]) plat = os.uname()[0] -modules = [ xc, xs, ptsname, flask, xl ] +modules = [ xc, xs, ptsname, flask ] +#modules.extend([ xl ]) if plat == 'SunOS': modules.extend([ scf, process ]) if plat == 'Linux':
Ian Campbell writes ("[PATCH RFC] python: disable libxl bindings"):
Quoted 1 line
python: disable libxl bindings
Ian Campbell
AppliedQuoted 4 lines · Ian Jackson
Ian Campbell writes ("[PATCH RFC] python: disable libxl bindings"):
Quoted 1 line
python: disable libxl bindings
Acked-by Ian Jackson <[email protected]>
Applied, thanks.