Skip to content

gh-118318: Remove outdated c14n references from ElementTree#118319

Open
danifus wants to merge 3 commits into
python:mainfrom
danifus:cleanup-removed-c14n
Open

gh-118318: Remove outdated c14n references from ElementTree#118319
danifus wants to merge 3 commits into
python:mainfrom
danifus:cleanup-removed-c14n

Conversation

@danifus
Copy link
Copy Markdown
Contributor

@danifus danifus commented Apr 26, 2024

Some references to a removed c14n serialization method remained in ElementTree.py. Attempting to use method='c14n' in the write() method would result in ValueError: unknown method 'c14n'.

Removes the write_c14n() method that uses method='c14n' and also raises the same error.

Some references to a removed `c14n` serialization method remained in
ElementTree.py. Attempting to use `method='c14n'` in the `write()`
method would result in `ValueError: unknown method 'c14n'`.

Removes the `write_c14n()` method that uses `method='c14n'` and also
raises the same error.
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 16, 2026
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a NEWS entry and a What's New entry for this change.

Comment thread Lib/xml/etree/ElementTree.py Outdated
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 25, 2026

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting changes stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants