From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] tools: remove unused wrappers for python Date: Tue, 6 Oct 2015 14:40:37 +0100 Message-ID: <1444138837.5302.174.camel@citrix.com> References: <1444128368-31585-1-git-send-email-jgross@suse.com> <20151006111849.GW29124@zion.uk.xensource.com> <5613B1A2.2030800@suse.com> <20151006113902.GY29124@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20151006113902.GY29124@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu , Juergen Gross Cc: stefano.stabellini@eu.citrix.com, Andrew Cooper , ian.jackson@eu.citrix.com, xen-devel@lists.xen.org, zhigang.x.wang@oracle.com List-Id: xen-devel@lists.xenproject.org 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). Ian.