FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-151126:Fix missing memory errors in _interpretersmodule.c by lpyu001 · Pull Request #151624 · python/cpython · GitHub

/ cpython Public

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

gh-151126:Fix missing memory errors in _interpretersmodule.c#151624
sobolevn merged 2 commits into
python:mainfrom
lpyu001:fix-missing-PyErr_NoMemory-in-_interpretersmodule.c

Conversation

lpyu001 commented Jun 18, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you!

sobolevn added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jun 25, 2026
sobolevn merged commit 05225aa into python:main Jun 25, 2026
64 checks passed

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 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 Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jun 25, 2026

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 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 Bot removed the needs backport to 3.14 bugs and security fixes label Jun 25, 2026

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>

Copy link
Copy Markdown
Member

Please don't forget about backports.

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 Bot removed the needs backport to 3.13 bugs and security fixes label Jul 15, 2026

lpyu001 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Please don't forget about backports.

Done. Thanks!

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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL