This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eli.bendersky
Recipients effbot, eli.bendersky, flox, scoder
Date 2012-02-10.14:52:55
SpamBayes Score 2.7450499e-08
Marked as misclassified No
Message-id <>
Following the discussion on python-dev [1], this issue will track the re-organization of Lib/xml/etree to expose the C implementation (_elementtree) by default when importing ElementTree. The test suite will also have to be updated - it's required that it exercises both the C and the Python implementations.

I would like to make the import "magic" simple. Thus, the idea I currently plan to pursue is:

* xml/etree/ will be a simple facade that attempts to 'import *' from _elementtree, and on failure does 'import *' from pyElementTree
* The current contents of xml/etree/ will move to xml/etree/
* xml/etree/ disappears.

The test suite will be modified accordingly.

I'll be working on creating a patch for this. Any help, ideas, comments and discussions are more than welcome.

Date User Action Args
2012-02-10 14:52:57eli.benderskysetrecipients: + eli.bendersky, effbot, scoder, flox
2012-02-10 14:52:57eli.benderskysetmessageid: <>
2012-02-10 14:52:56eli.benderskylinkissue13988 messages
2012-02-10 14:52:55eli.benderskycreate