Skip to content

Fix unchecked NULL returns in several C modules - #160213

Merged
StanFromIreland merged 2 commits into
python:mainfrom
StanFromIreland:uncheck-null
Oct 22, 2026
Merged

StanFromIreland merged 2 commits into
python:mainfrom
StanFromIreland:uncheck-null

Conversation

@StanFromIreland

Copy link
Copy Markdown
Member

Inspired by @JelleZijlstra recent work, I tried asking Claude to find some of these little bugs, and here's what it found. I don't think any are news-worthy however, so skipping news.

Comment thread Modules/readline.c Outdated
Comment thread Python/ceval.c Outdated
@StanFromIreland
StanFromIreland enabled auto-merge (squash) October 22, 2026 15:45
@StanFromIreland
StanFromIreland merged commit a930e52 into python:main Oct 22, 2026
85 of 89 checks passed
@StanFromIreland
StanFromIreland deleted the uncheck-null branch October 22, 2026 15:55
@miss-islington-app

Copy link
Copy Markdown

Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland, I could not cleanly backport this to 3.15 due to a conflict.

Please backport manually with cherry_picker, see the devguide for more information.

cherry_picker a930e524cbe7cd3a35f27a1c33e7d684909d765a 3.15

@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland, I could not cleanly backport this to 3.14 due to a conflict.

Please backport manually with cherry_picker, see the devguide for more information.

cherry_picker a930e524cbe7cd3a35f27a1c33e7d684909d765a 3.14

@bedevere-app

bedevere-app Bot commented Oct 22, 2026

Copy link
Copy Markdown

GH-160262 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 Oct 22, 2026
StanFromIreland added a commit that referenced this pull request Oct 22, 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.

2 participants