Skip to content

Update PEP 4 with xml.etree.cElementTree removal #1392

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

Merged
merged 1 commit into from
Jun 17, 2020

Conversation

tiran
Copy link
Member

@tiran tiran commented May 4, 2020

@vstinner vstinner merged commit a7aa657 into python:master Jun 17, 2020
@hugovk
Copy link
Member

hugovk commented Jun 17, 2020

Actually, it was restored in 3.9 (python/cpython#20780) and master/3.10 (python/cpython#20117):

The xml.etree.cElementTree module is restored. We'll see about what to do with it later. It hurts less to keep it around than to delete it.

https://bugs.python.org/issue36543#msg371210

But it remains deprecated. Perhaps do this?

     Module name:   xml.etree.cElementTree
     Rationale:     Obsolete, use xml.etree.ElementTree
     Date:          2019-04-06
     Documentation: Documented as deprecated since 3.3
-                   Removed in 3.9

@vstinner
Copy link
Member

Actually, it was restored in 3.9 (python/cpython#20780)

Oh. I tested Python 3.9.0b1 on Fedora 32. I didn't know that it was restored.

@vstinner
Copy link
Member

-                   Removed in 3.9

Done in 79076e8

AA-Turner pushed a commit to AA-Turner/peps that referenced this pull request Aug 15, 2020
mnm678 pushed a commit to mnm678/peps that referenced this pull request Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants