[pypy-commit] pypy default: Add this as a dummy module that imports everything from
arigo
noreply at buildbot.pypy.org
Mon Sep 5 15:17:50 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
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__
More information about the pypy-commit
mailing list