On Mon, 31 Oct 2011 01:33:40 -0500
DJ Lucas <[email protected]> wrote:

> On 10/30/2011 04:55 PM, Andrew Benton wrote:
> > With a lot of work it's possible to compile and install libxml2's
> > python bindings into python3 but the effort was all in vain, they don't
> > work as they use python 2 isms
> Did you try using 2to3 on them? It *seems* to work pretty well, and 
> gives actual line numbers for things that it doesn't know how to fix. 
> I'm know very little of Python, but a few searches in Google gave me 
> what I believe to be the needed fixes for the few things that 2to3 
> couldn't handle in the xcb bindings.

2to3 is a useful tool for converting python2 to python3. The problem
with libxml2 is the C files:

types.c:594:17: error: ‘PyInstanceObject’ undeclared (first use in this 
function)

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to