Closed carljm closed 1 year ago
https://github.com/larryhastings/co_annotations/commit/b42ce636f2bfe9a24faa01b63adecabaae5eb6a1 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.
MAKE_FUNCTION
__co_annotations__
Fixes #12
https://github.com/larryhastings/co_annotations/commit/b42ce636f2bfe9a24faa01b63adecabaae5eb6a1 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