Skip to content

refactor: Use Py_UNREACHABLE() macro for unreachable code#1038

Open
sobolevn wants to merge 1 commit into
msgspec:mainfrom
sobolevn:unreachable-code
Open

refactor: Use Py_UNREACHABLE() macro for unreachable code#1038
sobolevn wants to merge 1 commit into
msgspec:mainfrom
sobolevn:unreachable-code

Conversation

@sobolevn

@sobolevn sobolevn commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This macro is available since 3.7 and should be used in such cases :)

@sobolevn sobolevn force-pushed the unreachable-code branch from 1f3ac9c to 97cf451 Compare June 7, 2026 07:31
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.

1 participant