Bob Cowdery, 27.07.2010 12:16: > 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 for me in a wide build of Python 2.5, 2.7 and 3.2 as well as a narrow build of Python 2.6, using the latest cython-devel branch (i.e. Cython 0.13). We also have a similar test case in our regression test suite. http://hg.cython.org/cython-devel/archive/tip.tar.gz Please try that version and provide the Python version that you are using and the exact error output, including traceback. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
