Message153223
| 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 * |
|