This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:54mdksetrecipients: + mdk, scoder, eli.bendersky, gphemsley
2017-12-26 23:54:54mdksetmessageid: <1514332494.1.0.213398074469.issue32424@psf.upfronthosting.co.za>
2017-12-26 23:54:54mdklinkissue32424 messages
2017-12-26 23:54:54mdkcreate