bpo-13611: C14N 2.0 implementation for ElementTree by scoder · Pull Request #12966 · python/cpython (original) (raw)

I tested this PR locally, and there seems to be reference leaks. The following is the output of ./python -m test -R 3:3 test_xml_etree_c:

Run tests sequentially
0:00:00 load avg: 1.09 [1/1] test_xml_etree_c
beginning 6 repetitions
123456
......
test_xml_etree_c leaked [208, 208, 208] references, sum=624
test_xml_etree_c leaked [51, 51, 51] memory blocks, sum=153
test_xml_etree_c failed

== Tests result: FAILURE ==

1 test failed:
    test_xml_etree_c

Total duration: 2 sec 801 ms
Tests result: FAILURE