FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-114737: Revert change to ElementTree.iterparse "root" attribute by colesbury · Pull Request #114755 · python/cpython · GitHub

/ cpython Public

gh-114737: Revert change to ElementTree.iterparse "root" attribute - #114755

Merged
serhiy-storchaka merged 3 commits into
python:mainfrom
colesbury:gh-114737
Jan 31, 2024
Merged

gh-114737: Revert change to ElementTree.iterparse "root" attribute#114755
serhiy-storchaka merged 3 commits into
python:mainfrom
colesbury:gh-114737

Conversation

colesbury commented Jan 30, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

Prior to gh-114269, the iterator returned by ElementTree.iterparse was initialized with the root attribute as None. This restores the previous behavior.

Thanks to Prometheus3375 for pointing this out.

Prior to pythongh-114269, the iterator returned by ElementTree.iterparse was
initialized with the root attribute as None. This restores the previous
behavior.

Copy link
Copy Markdown
Contributor Author

cc @Prometheus3375

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Comment thread Lib/xml/etree/ElementTree.py Outdated

serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM.

serhiy-storchaka added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Jan 31, 2024
serhiy-storchaka merged commit 66f95ea into python:main Jan 31, 2024

Copy link
Copy Markdown

Thanks @colesbury for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 31, 2024
…ute (pythonGH-114755)

Prior to pythongh-114269, the iterator returned by ElementTree.iterparse was
initialized with the root attribute as None. This restores the previous
behavior.
(cherry picked from commit 66f95ea)

Co-authored-by: Sam Gross <colesbury@gmail.com>

bedevere-app Bot commented Jan 31, 2024

Copy link
Copy Markdown

GH-114798 is a backport of this pull request to the 3.12 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 31, 2024
…ute (pythonGH-114755)

Prior to pythongh-114269, the iterator returned by ElementTree.iterparse was
initialized with the root attribute as None. This restores the previous
behavior.
(cherry picked from commit 66f95ea)

Co-authored-by: Sam Gross <colesbury@gmail.com>
bedevere-app Bot removed the needs backport to 3.12 only security fixes label Jan 31, 2024

bedevere-app Bot commented Jan 31, 2024

Copy link
Copy Markdown

GH-114799 is a backport of this pull request to the 3.11 branch.

bedevere-app Bot removed the needs backport to 3.11 only security fixes label Jan 31, 2024
serhiy-storchaka pushed a commit that referenced this pull request Jan 31, 2024
…bute (GH-114755) (GH-114798)

Prior to gh-114269, the iterator returned by ElementTree.iterparse was
initialized with the root attribute as None. This restores the previous
behavior.
(cherry picked from commit 66f95ea)

Co-authored-by: Sam Gross <colesbury@gmail.com>
serhiy-storchaka pushed a commit that referenced this pull request Jan 31, 2024
…bute (GH-114755) (GH-114799)

Prior to gh-114269, the iterator returned by ElementTree.iterparse was
initialized with the root attribute as None. This restores the previous
behavior.
(cherry picked from commit 66f95ea)

Co-authored-by: Sam Gross <colesbury@gmail.com>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…ute (pythonGH-114755)

Prior to pythongh-114269, the iterator returned by ElementTree.iterparse was
initialized with the root attribute as None. This restores the previous
behavior.
colesbury deleted the gh-114737 branch April 8, 2024 16:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL