Skip to content

Prevent Death of None#5043

Merged
JorjMcKie merged 1 commit into
mainfrom
address-5042
Jul 11, 2026
Merged

Prevent Death of None#5043
JorjMcKie merged 1 commit into
mainfrom
address-5042

Conversation

@JorjMcKie

Copy link
Copy Markdown
Collaborator

Prevent dropping refcount of Py_None to 0.

Prevent dropping refcount of Py_None to 0.
@JorjMcKie

JorjMcKie commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator Author

@julian-smith-artifex-com - the test script will fail under Python versions < 3.12 without this fix, and will never (even without this fix) fail in versions 3.12+ because of the support of "immortal" objects - Py_None became immortal then.

@JorjMcKie JorjMcKie merged commit d815843 into main Jul 11, 2026
3 checks passed
@JorjMcKie JorjMcKie deleted the address-5042 branch July 11, 2026 18:46
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants