[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools: remove unused wrappers for python



On 10/06/2015 10:51 AM, Juergen Gross wrote:
> On 10/06/2015 03:40 PM, Ian Campbell wrote:
>> On Tue, 2015-10-06 at 12:39 +0100, Wei Liu wrote:
>>
>>> And for the record, if my google-fu doesn't fail me, it's possible to
>>> load shared library into python interpreter using "dl" module in 2.7 and
>>> "ctypes" module in 3.x.
>>
>> Possible, but not especially convenient since you need to convert the C
>> prototype manually, plus the result is not necessarily very "pythonic".
>>
>> I could totally see why people would prefer these bindings (or an argument
>> for us providing a ctypes based wrapper).
> 
> How often is such a debugging interface being used? Please consider
> the amount of code (my patch removed nearly 3000 lines of code!) and
> the availability of the xl wrapper.

We use these extentions along with xend XMLRPC API/xm. Even when move to
xl, this will give us a choice to reserve some logic.

Thanks,

Zhigang

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.