[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Python 3 support
On Mon, 2014-07-07 at 10:05 +0200, Jacek Konieczny wrote: > On 07/07/14 01:11, Alex Xu wrote: > > Is there any Python 3 support planned? > > That would be great, but I have heard nothing of such plans. > > > I would like to write my libxl scripts in Python 3 instead of 2. > [...] > > I tried porting Xen manually using such blunt instruments as 2to3 -w, > > but encountered obvious difficulties due to the complexity of the code. > > I have chosen to use Xen libxenlight, libxenstore and libxenctrl > directly through the 'ctypes' module from my Python 3 applications (I > made some custom wrappers). It is not the most elegant solution and > requires careful updates for any new major Xen version, but works and > can sometimes provide more or better functionality than the Python > modules included with the Xen distribution (they are not very actively > maintained). For all intents and purposes you should consider the libxenlight Python bindings to simply not exist. They are not maintained nor built by default and don't really work. If someone wanted to resurrect them I would strongly encourage them to start from scratch... The xenstore and xenctrl modules should be in a better state, although they are no longer widely used by the default toolstack now that xend is removed, but we would accept patches etc and they are build tested as part of our normal process. > Unfortunately, any upstream Xen Python utilities still depend on Python > 2, so it may be hard to have a Xen system free of the old Python > interpreter. > > Greets, > Jacek > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > http://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |