Re: [Xen-devel] Python 3 bindings

2017-02-22 Thread Marek Marczykowski-Górecki
On Wed, Feb 22, 2017 at 11:34:16AM +, Wei Liu wrote: > On Tue, Feb 21, 2017 at 02:03:00PM +0100, Marek Marczykowski-Górecki wrote: > > On Mon, Feb 20, 2017 at 05:18:44PM +, Wei Liu wrote: > > > On Fri, Feb 17, 2017 at 01:36:01PM +0100, Marek Marczykowski-Górecki > > > wrote: > > > > Hi, >

Re: [Xen-devel] Python 3 bindings

2017-02-22 Thread Wei Liu
On Tue, Feb 21, 2017 at 02:03:00PM +0100, Marek Marczykowski-Górecki wrote: > On Mon, Feb 20, 2017 at 05:18:44PM +, Wei Liu wrote: > > On Fri, Feb 17, 2017 at 01:36:01PM +0100, Marek Marczykowski-Górecki wrote: > > > Hi, > > > > > > I'm adjusting python bindings to work on python3 too. This wi

Re: [Xen-devel] Python 3 bindings

2017-02-21 Thread Marek Marczykowski-Górecki
On Mon, Feb 20, 2017 at 05:18:44PM +, Wei Liu wrote: > On Fri, Feb 17, 2017 at 01:36:01PM +0100, Marek Marczykowski-Górecki wrote: > > Hi, > > > > I'm adjusting python bindings to work on python3 too. This will require > > few #if in the code (to compile for both python2 and python3), but it >

Re: [Xen-devel] Python 3 bindings

2017-02-20 Thread Wei Liu
On Fri, Feb 17, 2017 at 01:36:01PM +0100, Marek Marczykowski-Górecki wrote: > Hi, > > I'm adjusting python bindings to work on python3 too. This will require > few #if in the code (to compile for both python2 and python3), but it > isn't that bad. But there are some major changes in python3, which

[Xen-devel] Python 3 bindings

2017-02-17 Thread Marek Marczykowski-Górecki
Hi, I'm adjusting python bindings to work on python3 too. This will require few #if in the code (to compile for both python2 and python3), but it isn't that bad. But there are some major changes in python3, which require some decision about the bindings API: 1. Python3 has no longer separate 'int