
July 13, 2019
10:51 p.m.
Giovanni Cappellotto <potomak84@gmail.com> added the comment: In https://github.com/python/cpython/pull/14757 I tried updating the implementation of `Attr._set_name` to remove and reset the attr node in the owner element. So now `Attr._set_name` behaves similarly to `Document.renameNode`. All existing tests are still passing and I added one more test for checking the issue described here. ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue13127> _______________________________________