Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r47081:eb4d7421fbe6
Date: 2011-09-05 15:17 +0200
http://bitbucket.org/pypy/pypy/changeset/eb4d7421fbe6/

Log:    Add this as a dummy module that imports everything from
        xml.etree.ElementTree. It is good enough to make all tests from
        lib-python/2.7/test/test_xml_etree_c.py happy.

diff --git a/lib_pypy/_elementtree.py b/lib_pypy/_elementtree.py
new file mode 100644
--- /dev/null
+++ b/lib_pypy/_elementtree.py
@@ -0,0 +1,6 @@
+# Just use ElementTree.
+
+from xml.etree import ElementTree
+
+globals().update(ElementTree.__dict__)
+del __all__
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to