Message309074
| Author | mdk |
|---|---|
| Recipients | eli.bendersky, gphemsley, mdk, scoder |
| Date | 2017-12-26.23:54:54 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1514332494.1.0.213398074469.issue32424@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
As the C implementation is already shadowing the Python implementation when available (last lines of Lib/xml/etree/ElementTree.py), using `.copy()` is already a bug magnet (works when the Python implem is used, does not work when shadowed by the C implem). So renaming the copy method to __copy__ in the python implementation looks good to me. Ultimately the Python implementation would require a __deepcopy__ too? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-12-26 23:54:54 | mdk | set | recipients: + mdk, scoder, eli.bendersky, gphemsley |
| 2017-12-26 23:54:54 | mdk | set | messageid: <1514332494.1.0.213398074469.issue32424@psf.upfronthosting.co.za> |
| 2017-12-26 23:54:54 | mdk | link | issue32424 messages |
| 2017-12-26 23:54:54 | mdk | create | |