]> granicus.if.org Git - python/commit
Issue #14128: Exposing Element as an actual type from _elementtree, rather than a...
authorEli Bendersky <eliben@gmail.com>
Sun, 4 Mar 2012 05:14:03 +0000 (07:14 +0200)
committerEli Bendersky <eliben@gmail.com>
Sun, 4 Mar 2012 05:14:03 +0000 (07:14 +0200)
commit092af1fc5cd1b314143ee848025008c4ed862285
tree4cde4a2aee2ba401515f7185c1ffbedf41a035b6
parentc9590ad745caa9fc76a8373d19e8019d90e8f9e8
Issue #14128: Exposing Element as an actual type from _elementtree, rather than a factory function.

This makes the C implementation more aligned with the Python implementation.
Also added some tests to ensure that Element is now a type and that it can
be subclassed.
Lib/test/test_xml_etree.py
Lib/test/test_xml_etree_c.py
Lib/xml/etree/ElementTree.py
Modules/_elementtree.c