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

cython 3.0 编译中的一个 warning,nogil 应该写在行尾 #84

Open
milkpuff opened this issue Oct 18, 2023 · 0 comments
Open

cython 3.0 编译中的一个 warning,nogil 应该写在行尾 #84

milkpuff opened this issue Oct 18, 2023 · 0 comments

Comments

@milkpuff
Copy link

一个小问题。
cython 3.0版本后,编译过程中提示warning,nogil 应该放在 except + 的后面
warning: ctpwrapper/headers/DataCollect.pxd:8:61: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython.
如要修复,简单调整顺序即可
void Release() nogil except +
修改为
void Release() except + nogil

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

No branches or pull requests

1 participant