-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
bpo-35502: Fix reference leaks in ElementTree.TreeBuilder. #11170
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
bpo-35502: Fix reference leaks in ElementTree.TreeBuilder. #11170
Conversation
| @@ -0,0 +1,2 @@ | |||
| Fixed reference leaks in :class:`xml.etree.ElementTree.TreeBuilder` in case | |||
| of unfinished building of the tree. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that the error is restricted to "unfinished building of the tree", it's more generally caused by syntax errors: https://bugs.python.org/issue35502#msg332051
|
Thank you @vstinner for your review. I tried to address your comments. |
vstinner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
|
GH-11217 is a backport of this pull request to the 3.7 branch. |
…11170) (cherry picked from commit d2a75c6) Co-authored-by: Serhiy Storchaka <[email protected]>
(cherry picked from commit d2a75c6) Co-authored-by: Serhiy Storchaka <[email protected]>
https://bugs.python.org/issue35502