Skip to content

gh-150546:Fix cleanup for replacement_locations in _PyCode_New()#150549

Open
lpyu001 wants to merge 1 commit into
python:mainfrom
lpyu001:codeobj
Open

gh-150546:Fix cleanup for replacement_locations in _PyCode_New()#150549
lpyu001 wants to merge 1 commit into
python:mainfrom
lpyu001:codeobj

Conversation

@lpyu001

@lpyu001 lpyu001 commented May 28, 2026

Copy link
Copy Markdown
Contributor

@lpyu001

lpyu001 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

The co_tlbc NULL deref part has already been handled by GH-152034,this PR now only keeps the replacement_locations cleanup in _PyCode_New() and has no user-visible behavior or API change.No NEWS entry is needed.

@lpyu001 lpyu001 changed the title gh-150546:Fix cleanup for co_tlbc and replacement_locations in _PyCode_New() gh-150546:Fix cleanup for replacement_locations in _PyCode_New() Jul 17, 2026
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.

1 participant