Skip to content

gh-151126:Fix missing memory errors in _interpretersmodule.c - #151624

Merged
sobolevn merged 2 commits into
python:mainfrom
lpyu001:fix-missing-PyErr_NoMemory-in-_interpretersmodule.c
Jun 25, 2026
Merged

sobolevn merged 2 commits into
python:mainfrom
lpyu001:fix-missing-PyErr_NoMemory-in-_interpretersmodule.c

Conversation

@lpyu001

@lpyu001 lpyu001 commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

@sobolevn sobolevn 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.

Thank you!

@sobolevn sobolevn added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Jun 25, 2026
@sobolevn
sobolevn merged commit 05225aa into python:main Jun 25, 2026
60 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @lpyu001 for the PR, and @sobolevn for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Jun 25, 2026

Copy link
Copy Markdown

GH-152169 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Jun 25, 2026
@miss-islington-app

Copy link
Copy Markdown

Sorry, @lpyu001 and @sobolevn, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 05225aa06a4c5eceaa2eb29e99c2d44d2dbfe295 3.13
@bedevere-app

bedevere-app Bot commented Jun 25, 2026

Copy link
Copy Markdown

GH-152170 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jun 25, 2026
@sobolevn

Copy link
Copy Markdown
Member

@lpyu001 can you please check why did the 3.13 backport failed? Do we need one?

sobolevn pushed a commit that referenced this pull request Jun 25, 2026
GH-151624) (#152170)

gh-151126: Fix missing memory errors in `_interpretersmodule.c` (GH-151624)
(cherry picked from commit 05225aa)

Co-authored-by: stevens <lipengyu@kylinos.cn>
sobolevn pushed a commit that referenced this pull request Jun 25, 2026
GH-151624) (#152169)

gh-151126: Fix missing memory errors in `_interpretersmodule.c` (GH-151624)
(cherry picked from commit 05225aa)

Co-authored-by: stevens <lipengyu@kylinos.cn>
@serhiy-storchaka

Copy link
Copy Markdown
Member

Please don't forget about backports.

@bedevere-app

bedevere-app Bot commented Jul 15, 2026

Copy link
Copy Markdown

GH-153765 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Jul 15, 2026
@lpyu001

lpyu001 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Please don't forget about backports.

Done. Thanks!

@lpyu001

lpyu001 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

@lpyu001 can you please check why did the 3.13 backport failed? Do we need one?

3.13 still uses the older cross-interpreter buffer implementation. The same missing-exception paths are present there,I've backport it to 3.13

sobolevn pushed a commit that referenced this pull request Jul 15, 2026
#153765)

gh-151126: Fix missing memory errors in `_interpretersmodule.c` (#151624)

(cherry picked from commit 05225aa)
@lpyu001
lpyu001 deleted the fix-missing-PyErr_NoMemory-in-_interpretersmodule.c branch September 23, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants