Conversation
Replace Python libxml2 XML objects with ElementTree wrappers and make the C extension return serialized XML bytes. Update tests/examples and drop xml2mod linkage and packaging deps as the next step toward removing Python libxml2 bindings.
Update the test mock to accept the simplified positional xmlapi('t', rtype, typeid) call shape used by the port so the integration test reflects the real extension behavior.
Accept legacy xmlapi() call shapes and make Makefile/unit tests resilient to modern Python build directories.
Code ReviewThis is a well-motivated, largely well-executed modernization effort. The key goal — removing the What the PR does well
🔴 Blocking issues1.
|
Accept xmlapi() keyword arguments again (while keeping positional call forms) and avoid __getattr__ recursion in ElementTree wrapper classes. Update docs/tests and silence cast-function-type warnings for the METH_KEYWORDS entry.
No description provided.