Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix assert in MAKE_FUNCTION #14

Closed
wants to merge 1 commit into from

Conversation

carljm
Copy link

@carljm carljm commented Apr 8, 2022

b42ce63 didn't update an assertion in MAKE_FUNCTION handler in ceval, which causes a crash in debug builds. Update the assertion to accept either of the now two possible types for __co_annotations__, a code object or a tuple.

Fixes #12

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.

MAKE_FUNCTION target in ceval does not handle co_annotations tuple
1 participant