Skip to content

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

Merged
kumaraditya303 merged 1 commit into
python:mainfrom
lpyu001:codeobj
Jul 24, 2026
Merged

gh-150546:Fix cleanup for replacement_locations in _PyCode_New()#150549
kumaraditya303 merged 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
@kumaraditya303
kumaraditya303 merged commit a096314 into python:main Jul 24, 2026
57 checks passed
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