[issue18304] ElementTree -- provide a way to ignore namespace in tags and seaches

Martin Panter report at bugs.python.org
Wed Jul 27 19:22:48 EDT 2016


Martin Panter added the comment:

Perhaps it would make more sense to use rpartition() or rstrip(). It seems possible to have a closing curly bracket in a namespace, but not in a element tag or attribute name.

My guess is the __all__ failure is just a sign to add the new function to the __all__ variable at the top of the module.

----------

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


More information about the Python-bugs-list mailing list