-
Notifications
You must be signed in to change notification settings - Fork 21
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
Cython3 migration #249
Cython3 migration #249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Note that cython compiler conditionals ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Migrating to Cython 3 from Cython 0.29 (relevant Cython docs here)
Most notably, this involves supporting Cython with
language_level=3
(as Cython3 drops support for Python2). I'm marking supporting python functions incharmlib_cython.pyx
asnoexcept
to match the c++ function signatures, but I'm not sure if this is the best approach or if exception types should be specified instead. Relevant Cython change documented here.