-
Notifications
You must be signed in to change notification settings - Fork 74
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 compatibility #4033
cython3 compatibility #4033
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!
@@ -1,5 +1,11 @@ | |||
#cython: embedsignature=True, language_level=3 | |||
## This is for optimisation | |||
#cython: boundscheck=False, wraparound=False, cdivision=True, initializedcheck=False, |
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.
Why is this is needed globally?
@@ -1,3 +1,8 @@ | |||
#cython: embedsignature=True, language_level=3 | |||
## This is for optimisation | |||
##cython: boundscheck=False, wraparound=False, cdivision=True, initializedcheck=False, |
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.
That's disabled, right?
@@ -101,7 +106,7 @@ ctypedef fused image_types: | |||
|
|||
# Normalization | |||
|
|||
ctypedef double (*NormalizationFunction)(double) nogil | |||
# ctypedef double (*NormalizationFunction)(double) nogil |
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.
This is no longer a valid syntax?
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.
It is still valid but it is unused ... so I commented it to ensure nothing breaks.
To be removed once we are sure it makes no regression anywhere.
Remove compilation warnings
close #4019