Message153078
| Author |
flox |
| Recipients |
effbot, eli.bendersky, eric.araujo, ezio.melotti, flox, scoder |
| Date |
2012年02月10日.21:39:50 |
| SpamBayes Score |
0.0002977328 |
| Marked as misclassified |
No |
| Message-id |
<1328909992.28.0.0977817823254.issue13988@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The first step is to strip out the cElementTree bootstrap code from the C module.
I did it in the attached patch (plus removal of obsolete code for copy() in Python 2.4).
This passes the unmodified tests "test_xml_etree" and "test_xml_etree_c".
Then I think the right approach is to fold completely cElementTree behind ElementTree.
The cElementTree alias can be simply declared in Lib/xml/etree/__init__.py. |
|