[docs] [issue13127] xml.dom.Attr.name is not labeled as read-only

Giovanni Cappellotto report at bugs.python.org
Sat Jul 13 18:51:14 EDT 2019

Giovanni Cappellotto <potomak84 at 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 at bugs.python.org>

More information about the docs mailing list