Skip to content

gh-149816: Fix race conditions in Modules/_elementtree.c with free-threaded#149918

Open
ByteFlowing1337 wants to merge 9 commits into
python:mainfrom
ByteFlowing1337:fix-149816
Open

gh-149816: Fix race conditions in Modules/_elementtree.c with free-threaded#149918
ByteFlowing1337 wants to merge 9 commits into
python:mainfrom
ByteFlowing1337:fix-149816

Conversation

@ByteFlowing1337

@ByteFlowing1337 ByteFlowing1337 commented May 16, 2026

Copy link
Copy Markdown
Contributor

This PR fixes (69) Unsynchronized extra pointer dereference in len in Modules/_elementtree.c mentioned in #149816.
It also fixes race condition in getting attrib.

Comment thread Lib/test/test_xml_etree_c.py Outdated
Comment thread Lib/test/test_xml_etree_c.py Outdated
Comment thread Misc/NEWS.d/next/Library/2026-05-16-19-13-58.gh-issue-149816.Ht-jC5.rst Outdated
Comment thread Modules/_elementtree.c Outdated
Comment thread Modules/_elementtree.c Outdated
Comment thread Modules/_elementtree.c Outdated
@ByteFlowing1337

Copy link
Copy Markdown
Contributor Author

@dpdani Thanks for you review!

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.

2 participants