Hi all

I have something strange happening with a plain python module compiled
with Cython.

The import statement:

import xml.dom as dom

is causing the following error:

TypeError: Item in ''from list'' not a string.  (Note these are single
quote marks and the first set are the slanting variety)

This works fine on Windows 7 and one of my Linux boxes where Python and
extensions are compiled as USC2. It gives the above error on Linux boxes
where Python and extensions are compiled as UCS4. I can however import
fine if not compiled so whatever extension xml.dom uses (pyexpat.pyd I
think) it must be compatible with the Python build. Everything else (and
there is a lot of it) compiles and works fine on all boxes. I can
replace just that one module with a .py version and the non-working
Linux boxes then work ok so nothing is fundamentally amiss.

Can anyone shed any light on what's going on here please.

Thanks
Bob
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to