Message309010
Currently, the Python implementation of the Element class in xml.etree.ElementTree defines a method called copy() which the C implementation does not define, whereas the C implementation defines a __copy__() method (and a __deepcopy__() method) which the Python implementation does not define.
Given that the documentation makes no mention of a copy() method and that its definition would be masked by a standard import of xml.etree.ElementTree, I propose that it be renamed to __copy__() so that copy.copy() can make use of it. |
|
Date |
User |
Action |
Args |
2017-12-24 18:51:40 | gphemsley | set | recipients:
+ gphemsley, scoder, eli.bendersky |
2017-12-24 18:51:40 | gphemsley | set | messageid: <1514141500.33.0.213398074469.issue32424@psf.upfronthosting.co.za> |
2017-12-24 18:51:40 | gphemsley | link | issue32424 messages |
2017-12-24 18:51:40 | gphemsley | create | |
|