Florent Xicluna <florent.xicl...@gmail.com> added the comment:

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.

----------
keywords: +patch
Added file: http://bugs.python.org/file24479/issue13988_prepare_pep399.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13988>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to