Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-94383: Remove ElementTree.Element.copy() method #94384

Merged
merged 1 commit into from Jul 4, 2022

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 28, 2022

xml.etree: Remove the ElementTree.Element.copy() method of the pure
Python implementation, use the copy.copy() function instead. The C
implementation of xml.etree has no copy() method, only a copy()
method.

@vstinner vstinner marked this pull request as ready for review Jun 28, 2022
xml.etree: Remove the ElementTree.Element.copy() method of the pure
Python implementation, deprecated in Python 3.10, use the copy.copy()
function instead. The C implementation of xml.etree has no copy()
method, only a __copy__() method.
@vstinner
Copy link
Member Author

vstinner commented Jun 29, 2022

@serhiy-storchaka: Would you mind to review the updated PR?

@vstinner vstinner merged commit fd76eb5 into python:main Jul 4, 2022
14 checks passed
@vstinner vstinner deleted the etree branch Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants