Message309010
| Author | gphemsley |
|---|---|
| Recipients | eli.bendersky, gphemsley, scoder |
| Date | 2017-12-24.18:51:40 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1514141500.33.0.213398074469.issue32424@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |