Eli Bendersky <eli...@gmail.com> added the comment: As suspected, the cause is that xinclude_loader manages to somehow import the C version of ET, although test_xml_etree tries to enforce the Python version. This is probably because test___all__ imports all modules and leaves stuff in the import cache.
What causes the segfault itself is that C Elements are mixed with Python Elements, and they're incompatible. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15075> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com