Skip to content

gh-159739: Skip code-extra cleanup callbacks for NULL data - #159768

Closed
jelle-openai wants to merge 1 commit into
python:mainfrom
jelle-openai:jelle/codex/gh-159739-code-extra-cleanup
Closed

jelle-openai wants to merge 1 commit into
python:mainfrom
jelle-openai:jelle/codex/gh-159739-code-extra-cleanup

Conversation

@jelle-openai

@jelle-openai jelle-openai commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Backport to 3.15 and 3.14.

@jelle-openai

Copy link
Copy Markdown
Contributor Author

The problem this fixes is that callbacks may be incorrectly called with a NULL argument, contrary to the docs. But this is unstable anyway, changing the behavior is itself risky, and I don't think it's really worth changing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants