WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] python 2.4 and the xl

On Sat, 2010-10-09 at 06:52 +0100, Jiang, Yunhong wrote:
> The python/xen/lowlevel/xl/xl.c does not work in my python 2.4
> environment because the Py_ssize_t is only for python 2.5. I have to
> add something like "typedef int Py_ssize_t" to make it compilable. Is
> 2.4 python still supported or xl requires 2.5 python? My environment
> is RHEL5, maybe a bit out of date, I think :$

If we can support python 2.4 with minimal hassle then why not?

However it would seem to make more sense to typedef that to the specific
type which is expected in the two places where that is used, since they
are pointers in both cases. I suspect it's PyInt or something like that?

Please submit a patch :)

Gianni


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>