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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18304>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to