
April 14, 2019
2:14 p.m.
Stefan Behnel <stefan_ml@behnel.de> added the comment: The intended interface seems to be to change .name rather than .localName, so yes, that should be documented somewhere. The implementation seems a bit funny in that a "self._localName", if set, takes precedence, but there doesn't seem to be an official way to set it. The Attr() constructor even takes a "localname" argument, which it then ignores. o_O ---------- components: +XML stage: test needed -> needs patch versions: +Python 3.8 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue13127> _______________________________________