[issue8583] Hardcoded namespace_separator in the cElementTree.XMLParser

library.engine report at bugs.python.org
Sat May 28 03:55:24 CEST 2011


library.engine <library.engine at gmail.com> added the comment:

I second request for tag names not prefixed with a root namespace in python,
mostly because of ugly code, as performance degradation is negligible on relatively small files. But this ubiquitous repeating (even in the case if you're appending a variable to every tag name) is just against the DRY principle, and I don't like it.
I think an extra option to pass list of namespaces that should NOT be prepended to the tag names would be sufficient.

----------
nosy: +library.engine

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8583>
_______________________________________


More information about the Python-bugs-list mailing list