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 Arfrever, effbot, eli.bendersky, eric.araujo, ezio.melotti, flox, python-dev, scoder, tshepang
Date 2012-02-12.19:11:14
SpamBayes Score 1.4091931e-06
Marked as misclassified No
Message-id <1329073875.28.0.762547976155.issue13988@psf.upfronthosting.co.za>
In-reply-to
Content
By the way, I see that if the explicit import of _namespace_map is commented out, the test_xml_etree_c test fails because it's not in the __all__ list. So the test can just import it directly with:

from xml.etree.ElementTree import _namespace_map

And the import in cElementTree won't be necessary. After all, _namespace_map is definitely not a public API!

This will keep cElementTree an nice-and-clean:

from xml.etree.ElementTree import *
History
Date User Action Args
2012-02-12 19:11:15eli.benderskysetrecipients: + eli.bendersky, effbot, scoder, ezio.melotti, eric.araujo, Arfrever, flox, tshepang, python-dev
2012-02-12 19:11:15eli.benderskysetmessageid: <1329073875.28.0.762547976155.issue13988@psf.upfronthosting.co.za>
2012-02-12 19:11:14eli.benderskylinkissue13988 messages
2012-02-12 19:11:14eli.benderskycreate