◐ Shell
clean mode source ↗

Message 162884 - Python tracker

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.