Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot use an enum type as type argument #2658
When a function argument has a type hint ": type", I cannot pass an enum type after cythonizing.
Example module test.py:
Output before cythonizing:
Output after cythonizing:
Used compiler directive: "always_allow_keywords": True
Workaround: Remove the type hint from the argument.